Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failing on Ubuntu 18.04.3 #2380

Open
edukaded opened this issue Nov 4, 2019 · 2 comments
Open

Build failing on Ubuntu 18.04.3 #2380

edukaded opened this issue Nov 4, 2019 · 2 comments

Comments

@edukaded
Copy link

edukaded commented Nov 4, 2019

Trying to build using directions here...
http://wiki.torque3d.org/coder:compiling-in-linux

Getting the following error...

/Torque3D/Engine/lib/sdl/src/video/wayland/SDL_waylandevents.c:41:10: fatal error: pointer-constraints-unstable-v1-client-protocol.h: No such file or directory
 #include "pointer-constraints-unstable-v1-client-protocol.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Tools/CMake/sdl2/CMakeFiles/SDL2.dir/build.make:3182: recipe for target 'Tools/CMake/sdl2/CMakeFiles/SDL2.dir/src/video/wayland/SDL_waylandevents.c.o' failed
make[2]: *** [Tools/CMake/sdl2/CMakeFiles/SDL2.dir/src/video/wayland/SDL_waylandevents.c.o] Error 1
CMakeFiles/Makefile2:876: recipe for target 'Tools/CMake/sdl2/CMakeFiles/SDL2.dir/all' failed
make[1]: *** [Tools/CMake/sdl2/CMakeFiles/SDL2.dir/all] Error 2
Makefile:129: recipe for target 'all' failed

It appears to be related to the fact that Ubuntu 18.04 switched back to XOrg and no longer uses Wayland. Is there a build flag I need to add or something?

@rextimmy
Copy link
Contributor

rextimmy commented Nov 6, 2019

You need to disable the SDL CMake flag VIDEO_VULKAN and it will compile again. -DVIDEO_VULKAN=OFF

@edukaded
Copy link
Author

Thank you! Is this documented somewhere? Could someone maybe add the note to http://wiki.torque3d.org/coder:compiling-in-linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants