Click to See Complete Forum and Search --> : errors compiling latest Torcs


angelfly91
07-30-2004, 07:09 PM
I'm trying to compile it and keep getting this error:


SD_SOURCE -DSHM -c grmultitexstate.cpp
grmultitexstate.cpp: In member function `virtual void
grMultiTexState::apply(int)':
grmultitexstate.cpp:30: error: `GL_TEXTURE0_ARB' undeclared (first use this
function)
grmultitexstate.cpp:30: error: (Each undeclared identifier is reported only
once for each function it appears in.)
grmultitexstate.cpp:30: error: `glActiveTextureARB' undeclared (first use this
function)
grmultitexstate.cpp:34: error: `GL_TEXTURE1_ARB' undeclared (first use this
function)
grmultitexstate.cpp:40: error: `GL_TEXTURE2_ARB' undeclared (first use this
function)
grmultitexstate.cpp:44: error: `GL_TEXTURE3_ARB' undeclared (first use this
function)
make[5]: *** [grmultitexstate.o] Error 1
make[5]: Leaving directory `/home/angelfly/arc/torcs-1.2.2/src/modules/graphic/ssggraph'


I've read through alot of post and people seem to be using it just fine and I have found anyone else experiencing this problem. I've also trioed the CVS and that produces a different error