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!