[Techtalk] Compiling tuxkart (was Re: (TuxKart))
Conor Daly
conor.daly at oceanfree.net
Thu Nov 6 18:35:50 EST 2003
Having been prompted to do so, I went looking for tuxkart for RH. No rpms
to be found so I got the source. Installed glut, glut-devel, Mesa-devel
and plib.
The only glut and glut-devel I could find were for rh 7.3 while I'm
running ch 7.2. This is what I got: Any thoughts?
Thanks,
Conor
./configure
.....
make
c++ -g -O2 -O6 -Wall -o tuxkart start_tuxkart.o tuxkart.o gfx.o
material.o gui.o status.o sound.o utils.o isect.o guNet.o loader.o Track.o
Driver.o Herring.o Explosion.o KartDriver.o Traffic.o PlayerDriver.o
AutoDriver.o Projectile.o -lplibsl -lplibssg -lplibpu -lplibfnt -lplibsg
-lplibul -lpthread -lX11 -lXi -lXext -lXmu -lm
/usr/bin/ld: cannot find -lX11
did:
./configure ./configure --x-libraries=/usr/X11R6/lib/
--x-includes=/usr/X11R6/include/
.....
make
c++ -g -O2 -O6 -Wall -o tuxkart start_tuxkart.o tuxkart.o gfx.o
material.o gui.o status.o sound.o utils.o isect.o guNet.o loader.o Track.o
Driver.o Herring.o Explosion.o KartDriver.o Traffic.o PlayerDriver.o
AutoDriver.o Projectile.o -lplibsl -lplibssg -lplibpu -lplibfnt -lplibsg
-lplibul -lpthread -lX11 -lXi -lXext -lXmu -lm
/usr/bin/ld: cannot find -lX11
did:
cd /usr/X11R6/lib
ln -s libX11.so.6 libX11.so
make
c++ -g -O2 -O6 -Wall -o tuxkart start_tuxkart.o tuxkart.o gfx.o
material.o gui.o status.o sound.o utils.o isect.o guNet.o loader.o Track.o
Driver.o Herring.o Explosion.o KartDriver.o Traffic.o PlayerDriver.o
AutoDriver.o Projectile.o -lplibsl -lplibssg -lplibpu -lplibfnt -lplibsg
-lplibul -lpthread -lX11 -lXi -lXext -lXmu -lm
/usr/bin/ld: cannot find -lXi
did same for each of libXi.so.6, libXext.so.6, libXmu.so.6
make
c++ -g -O2 -O6 -Wall -o tuxkart start_tuxkart.o tuxkart.o gfx.o
material.o gui.o status.o sound.o utils.o isect.o guNet.o loader.o Track.o
Driver.o Herring.o Explosion.o KartDriver.o Traffic.o PlayerDriver.o
AutoDriver.o Projectile.o -lplibsl -lplibssg -lplibpu -lplibfnt -lplibsg
-lplibul -lGLU -lGL -L/usr/X11R6/lib/ -lpthread -lX11 -lXi -lXext -lXmu
-lm
start_tuxkart.o: In function `switch_to_game(void)':
/usr/include/plib/pu.h:509: undefined reference to
`puValue::re_eval(void)'
start_tuxkart.o: In function `switch_to_game(void)':
/home/cdaly/hobbiton/download/src/tuxkart-0.2.0/src/start_tuxkart.cxx:46:
undefined reference to `glutWarpPointer'
--
Conor Daly <conor.daly at oceanfree.net>
Domestic Sysadmin :-)
---------------------
Faenor.cod.ie
5:21pm up 14 days, 10:29, 0 users, load average: 0.00, 0.00, 0.10
Hobbiton.cod.ie
5:19pm up 14 days, 10:29, 2 users, load average: 0.02, 0.07, 0.04
More information about the Techtalk
mailing list