From 117b03195cdeb71d87c920b100170d9fa7d27031 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= <joamag@gmail.com> Date: Sun, 26 Feb 2023 22:35:43 +0000 Subject: [PATCH] docs: new documentation to run SDL2 on wayland For wayland dynamic linking of SDL2 may be required. --- frontends/sdl/Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontends/sdl/Cargo.toml b/frontends/sdl/Cargo.toml index d762d080..bf9b641b 100644 --- a/frontends/sdl/Cargo.toml +++ b/frontends/sdl/Cargo.toml @@ -14,6 +14,10 @@ path = "../.." version = "0.35" features = ["ttf", "image", "gfx", "mixer", "static-link", "use-vcpkg"] +# If the vcpkg version of SDL2 does not work (eg: display not found error) +# then try dynamic linking SDL2 using the following features +# features = ["ttf", "image", "gfx", "mixer", "bundled"] + [package.metadata.vcpkg] dependencies = ["sdl2", "sdl2-image[libjpeg-turbo,tiff,libwebp]", "sdl2-ttf", "sdl2-gfx", "sdl2-mixer"] git = "https://github.com/microsoft/vcpkg" -- GitLab