c -o frame.o frame.c
In file included from frame.c:37:
input.h:40: error: ‘SDLK_1’ undeclared here (not in a function)
input.h:41: error: ‘SDLK_2’ undeclared here (not in a function)
input.h:42: error: ‘SDLK_3’ undeclared here (not in a function)
input.h:43: error: ‘SDLK_4’ undeclared here (not in a function)
input.h:44: error: ‘SDLK_5’ undeclared here (not in a function)
input.h:45: error: ‘SDLK_6’ undeclared here (not in a function)
input.h:46: error: ‘SDLK_7’ undeclared here (not in a function)
input.h:47: error: ‘SDLK_8’ undeclared here (not in a function)
input.h:48: error: ‘SDLK_9’ undeclared here (not in a function)
input.h:49: error: ‘SDLK_0’ undeclared here (not in a function)
input.h:51: error: ‘SDLK_EQUALS’ undeclared here (not in a function)
input.h:64: error: ‘SDLK_LEFTBRACKET’ undeclared here (not in a function)
input.h:65: error: ‘SDLK_RIGHTBRACKET’ undeclared here (not in a function)
input.h:77: error: ‘SDLK_SEMICOLON’ undeclared here (not in a function)
input.h:81: error: ‘SDLK_BACKSLASH’ undeclared here (not in a function)
input.h:89: error: ‘SDLK_COMMA’ undeclared here (not in a function)
input.h:90: error: ‘SDLK_PERIOD’ undeclared here (not in a function)
input.h:91: error: ‘SDLK_SLASH’ undeclared here (not in a function)
make[4]: *** [frame.o] Error 1
Note: I also get the same error with the beta
This seems like an SDL error, but I've tried reinstalling SDL with no effect. I'm using SDL 1.2.13-1, from http://libsdl.org (official RPM) and I've tried building SDL on my own and using different RPMs to no effect. Am I looking for a different package, or is there another problem?
I reinstalled SDL_net and checked for all of the *-devel packages, and still no good
Looking at input.h, I noticed that only 18 of around 100 keys are giving this error. Maybe the game is assuming that an older SDL is being used, and they have since changes the name of the variables?
I'll try hacking the input file with hardcoded keycodes and see if I get anywhere.
c -o frame.o frame.c
In file included from frame.c:37:
input.h:40: error: ‘SDLK_1’ undeclared here (not in a function)
input.h:41: error: ‘SDLK_2’ undeclared here (not in a function)
input.h:42: error: ‘SDLK_3’ undeclared here (not in a function)
input.h:43: error: ‘SDLK_4’ undeclared here (not in a function)
input.h:44: error: ‘SDLK_5’ undeclared here (not in a function)
input.h:45: error: ‘SDLK_6’ undeclared here (not in a function)
input.h:46: error: ‘SDLK_7’ undeclared here (not in a function)
input.h:47: error: ‘SDLK_8’ undeclared here (not in a function)
input.h:48: error: ‘SDLK_9’ undeclared here (not in a function)
input.h:49: error: ‘SDLK_0’ undeclared here (not in a function)
input.h:51: error: ‘SDLK_EQUALS’ undeclared here (not in a function)
input.h:64: error: ‘SDLK_LEFTBRACKET’ undeclared here (not in a function)
input.h:65: error: ‘SDLK_RIGHTBRACKET’ undeclared here (not in a function)
input.h:77: error: ‘SDLK_SEMICOLON’ undeclared here (not in a function)
input.h:81: error: ‘SDLK_BACKSLASH’ undeclared here (not in a function)
input.h:89: error: ‘SDLK_COMMA’ undeclared here (not in a function)
input.h:90: error: ‘SDLK_PERIOD’ undeclared here (not in a function)
input.h:91: error: ‘SDLK_SLASH’ undeclared here (not in a function)
make[4]: *** [frame.o] Error 1
Is that the full output?
Since with all those SDL keys undeclared, I would assume it could not find SDL_keysym.h
On second thought, it looks like the problem (whatever it may be) is due to a bad SDL install. Somehow I'm trying to compile with an incomplete SDL library, while the actual install is complete. I'll try to completely purge my system of SDL and reinstall, so hopefully that will clear things up