chaoloveicemdboy
Member
I been trying to compile the source code for SRB2 2.1.8. I get an error though. The error I get is shown below. I only changed the version string and hard-coded in 2 files. Please don't give me an infraction for the compile log. I got it from github where I was supposed to get it. I used Dev-C++ to compile SRB2. I have SRB2 on my external hard drive. I wonder how in the world I'm going to fix this error.
Compiler: Default compiler
Building Makefile: "A:\SRB2 2.1.8\Source Code\Makefile.win"
Executing make...
make.exe -f "A:\SRB2 2.1.8\Source Code\Makefile.win" all
gcc.exe -c src/command.c -o src/command.o -I"C:/Dev-Cpp/include" -O2 -fmessage-length=0 -march=pentium-mmx -mmmx
src/command.c: In function `COM_AddLuaCommand':
src/command.c:413: error: `COM_Lua_f' undeclared (first use in this function)
src/command.c:413: error: (Each undeclared identifier is reported only once
src/command.c:413: error: for each function it appears in.)
make.exe: *** [src/command.o] Error 1
Execution terminated
Building Makefile: "A:\SRB2 2.1.8\Source Code\Makefile.win"
Executing make...
make.exe -f "A:\SRB2 2.1.8\Source Code\Makefile.win" all
gcc.exe -c src/command.c -o src/command.o -I"C:/Dev-Cpp/include" -O2 -fmessage-length=0 -march=pentium-mmx -mmmx
src/command.c: In function `COM_AddLuaCommand':
src/command.c:413: error: `COM_Lua_f' undeclared (first use in this function)
src/command.c:413: error: (Each undeclared identifier is reported only once
src/command.c:413: error: for each function it appears in.)
make.exe: *** [src/command.o] Error 1
Execution terminated
Last edited: