First post, by TelaKeppi
I'm having problems compiling CVS version (also 0.72) on OS X 10.5.5. Compiling with:
./configure --enable-core-inline --disable-sdltest --with-sdl-prefix=/opt/local --prefix=/opt/local
make
gives me:
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -g -O2 -MT sdl_mapper.o -MD -MP -MF .deps/sdl_mapper.Tpo -c -o sdl_mapper.o sdl_mapper.cpp
sdl_mapper.cpp:313: error: 'SDLK_WORLD_0' was not declared in this scope
sdl_mapper.cpp:316: error: 'SDLK_EQUALS' was not declared in this scope
sdl_mapper.cpp:317: error: 'SDLK_RIGHTBRACKET' was not declared in this scope
sdl_mapper.cpp:317: error: 'SDLK_LEFTBRACKET' was not declared in this scope
sdl_mapper.cpp:319: error: 'SDLK_SEMICOLON' was not declared in this scope
sdl_mapper.cpp:320: error: 'SDLK_BACKSLASH' was not declared in this scope
sdl_mapper.cpp:320: error: 'SDLK_COMMA' was not declared in this scope
sdl_mapper.cpp:320: error: 'SDLK_SLASH' was not declared in this scope
sdl_mapper.cpp:321: error: 'SDLK_PERIOD' was not declared in this scope
sdl_mapper.cpp:326: error: 'SDLK_LMETA' was not declared in this scope
sdl_mapper.cpp:357: error: 'SDLK_RMETA' was not declared in this scope
sdl_mapper.cpp: In function 'Bitu GetKeyCode(SDL_keysym)':
sdl_mapper.cpp:413: error: 'SDLK_WORLD_95' was not declared in this scope
sdl_mapper.cpp: At global scope:
sdl_mapper.cpp:1995: error: 'SDLK_EQUALS' was not declared in this scope
sdl_mapper.cpp:1997: error: 'SDLK_LEFTBRACKET' was not declared in this scope
sdl_mapper.cpp:1997: error: 'SDLK_RIGHTBRACKET' was not declared in this scope
sdl_mapper.cpp:1998: error: 'SDLK_SEMICOLON' was not declared in this scope
sdl_mapper.cpp:1999: error: 'SDLK_BACKSLASH' was not declared in this scope
sdl_mapper.cpp:2001: error: 'SDLK_COMMA' was not declared in this scope
sdl_mapper.cpp:2002: error: 'SDLK_PERIOD' was not declared in this scope
sdl_mapper.cpp:2002: error: 'SDLK_SLASH' was not declared in this scope
sdl_mapper.cpp:2016: error: 'SDLK_WORLD_0' was not declared in this scope
sdl_mapper.cpp: In function 'void CreateBindGroups()':
sdl_mapper.cpp:2213: error: 'SDLK_LAST' was not declared in this scope
make[3]: *** [sdl_mapper.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
SDL headers are in '/opt/local/include/SDL'. 'sdl-config --cflags' gives
'-I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE'. Seems like this is because my current keyboard layout (fi_FI). Also this looks like a similar problem http://lists.libsdl.org/pipermail/sdl-libsdl. … ber/066875.html. Any help would be appreciated.