Search the Community
Showing results for tags 'sdl'.
-
Hey! During the time of me playing around to get controllers to work in Leadwerks, I came across SDL bindings for Lua. So I compiled and tried it and it worked fine without problems. But, when I later try to require it from Leadwerks, I get the following error: "error loading module 'SDL' from file './SDL.so'" : 0 : undefined symbol When running outside of Leadwerks, I'm running it with Lua 5.1, which afaik, is what Leadwerks uses. Any help is much appreciated! Thanks! Regards, Krax
-
I've been having trouble getting SDL to work with Leadwerks on Linux. It builds fine on Windows, but I've been getting the following error: ‘SDL_GameControllerAxis’ is not a class or namespace I set up Code::Blocks to use these: Compiler search directories: /usr/include/SDL2 Link libraries: /usr/lib/i386-linux-gnu/libSDL2.so Options: -lSDL2 -lSDL2main Am I missing anything? Could I be pointed in the right direction? I have installed the libsdl2-2.0-0 and libsdl2-dev (with the ":i386" option) packages. Thanks!