gcc -o "obj/release/./src/sc2code/load.o" -c -I/usr/local/include/SDL -Dmain=SDL_main -I/usr/local/include/SDL -Dmain=SDL_main -O3 -DGFXMODULE_SDL -DHAVE_OPENGL -DSOUNDMODULE_SDL -DHAVE_ZIP=1 -I "." -I src -I src/sc2code -I src/sc2code/libs -I src/regex "src/sc2code/load.c" src/sc2code/load.c: In function `LoadGame': src/sc2code/load.c:197: error: `KOHR_AH_VICTORIOUS_EVENT' undeclared (first use in this function) src/sc2code/load.c:197: error: (Each undeclared identifier is reported only once src/sc2code/load.c:197: error: for each function it appears in.) make: *** [obj/release/./src/sc2code/load.o] Error 1
Anyone know how to fix this?
Logged
The only similarity between me and Kazon is the fact we both have fetid breath in the morning.
Stupid Programming Trick #337374: Use a search method (Search for files containing text "X" in windows, grep "X" -r in *nix, where "X" is the text you're looking for) to find the function or variable name.
« Last Edit: April 30, 2005, 11:52:18 am by Culture20 »