LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Games (https://www.linuxquestions.org/questions/linux-games-33/)
-   -   torcs installation problems (https://www.linuxquestions.org/questions/linux-games-33/torcs-installation-problems-283454/)

Canadian_2k2 01-28-2005 03:56 PM

torcs installation problems
 
Hi.
I am trying to install torcs on a Gentoo Linux system. when compiling with emerge torcs, after a while i get

c++ -I/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/export/include -O3 -march=p
entium4 -pipe -mcpu=pentium4 -Wall -Wstrict-prototypes -O3 -mieee-fp -Wall -Wstr
ict-prototypes -O3 -mieee-fp -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -c grmultitexs
tate.cpp
grmultitexstate.cpp: In member function `virtual void
grMultiTexState::apply(int)':
grmultitexstate.cpp:30: error: `glActiveTexture' undeclared (first use this
function)
grmultitexstate.cpp:30: error: (Each undeclared identifier is reported only
once for each function it appears in.)
make[5]: *** [grmultitexstate.o] Error 1
make[5]: Leaving directory `/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/src/mo
dules/graphic/ssggraph'
make[4]: *** [subdirs] Error 1
make[4]: Leaving directory `/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/src/mo
dules/graphic'
make[3]: *** [subdirs] Error 1
make[3]: Leaving directory `/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/src/mo
dules'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2/src'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/var/tmp/portage/torcs-1.2.2/work/torcs-1.2.2'
make: *** [restart] Error 2

So I tried downloading the source and compiling it, and same problem.

Is it a problem with torcs or my gcc? Any ideas on how to install this game?
Thanks
=|

teval 01-31-2005 08:02 AM

Most likely both torcs and gcc.
torcs was probably written with an earlier version of gcc in mind, lately they've been pushing a lot more enforced compliance with the standard.

The best way to remedy this is to post to the torcs mailing list, they've probably fixed it by now.


All times are GMT -5. The time now is 03:27 AM.