martyj Posted February 11, 2018 Share Posted February 11, 2018 I'm trying to get my game to compile via CMake and I am getthing this error /usr/bin/ld: /home/martyj/.steam/steam/steamapps/common/Leadwerks/Library/Linux/Debug/Leadwerks.a(Window.linux.o): undefined reference to symbol 'XdbeAllocateBackBufferName' //usr/lib/x86_64-linux-gnu/libXext.so.6: error adding symbols: DSO missing from command line Here is my library list target_link_libraries(WorldFactions m "${SHORT_PATH_LINK}/Linux/Debug/Leadwerks.a" dl openal GL GLU ${SHORT_PATH_LINK}/Linux/libsteam_api.so X11 pthread) Any help with this would be great. Thanks, Marty Quote Link to comment Share on other sites More sharing options...
Ma-Shell Posted February 11, 2018 Share Posted February 11, 2018 From the default linux-codeblocks-file I gather that the libraries needed should be the following: $(LeadwerksPath)/Library/Linux/Debug/Leadwerks.a dl openal GL GLU $(LeadwerksPath)/Library/Linux/libluajit.a ../../libsteam_api.so X11 Xext Xrender Xft pthread libcurl $(LeadwerksPath)/Library/Linux/libopenvr_api.so See whether it works, if you include all of these (in the specified order). 1 Quote Link to comment Share on other sites More sharing options...
martyj Posted February 11, 2018 Author Share Posted February 11, 2018 @Ma-Shell That worked perfect! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.