Skip to content

Build failing on Ubuntu 18.04.3 #2380

Description

@edukaded

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions