Doesn't compile

A 3D game in the spirit of Transport Tycoon. Click here for the web site.
Post Reply
Kyaputen Harokku
Engineer
Engineer
Posts: 75
Joined: 12 Sep 2004 09:36
Location: Germany

Doesn't compile

Post by Kyaputen Harokku »

I installed the latest fltk ("emerge fltk") and also have pthreads support. When compiling (from archive "source.tgz"), I get the following errors:

chii GrafikEngine # make
make all-recursive
make[1]: Entering directory `/usr/src/zugspiel/GrafikEngine'
Making all in intl
make[2]: Entering directory `/usr/src/zugspiel/GrafikEngine/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/zugspiel/GrafikEngine/intl'
Making all in po
make[2]: Entering directory `/usr/src/zugspiel/GrafikEngine/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/zugspiel/GrafikEngine/po'
Making all in include
make[2]: Entering directory `/usr/src/zugspiel/GrafikEngine/include'
make[2]: *** No rule to make target `GNODE.cc', needed by `all-am'. Stop.
make[2]: Leaving directory `/usr/src/zugspiel/GrafikEngine/include'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/zugspiel/GrafikEngine'
make: *** [all-recursive-am] Error 2

What do I do wrong?
Thanks to the cheaters, Multiplayer in ottd sucks.
User avatar
ucho
Engineer
Engineer
Posts: 42
Joined: 05 May 2004 19:36
Location: 3city

Post by ucho »

I get the same error. Does anybody know how to compile it?
thomasdev
Engineer
Engineer
Posts: 26
Joined: 15 Feb 2006 11:05

compiling

Post by thomasdev »

hi there!
got it working here...
i moved everything from source to /home/chochmah/zugspiel/
and changed in file include/Makefile.am one varibale:
grafikengine_include_DATA = \
../src/GNODE.cc\
../src/GNODE.h
after that it compiled, but it could not find my fltk libs in the last step - the linking, so i copy & pasted it:
c++ -Wall -Wimplicit -Wreturn-type -Wunused -Wswitch -Wcomment -Wuninitialized -Wparentheses -Wtraditional -Wpointer-arith -Wmissing-prototypes -O1 -g -o grafikengine main.o land.o 3ds.o RailNetworkClass.o Cam.o LandClass.o ZugClass.o ObjectClass.o TSNODE.o ONODE.o TextBubbelClass.o GNODE.o Init.o DepotNodeClass.o testwindow.o -L/usr/X11R6/lib -L/usr/local/qt/lib -L/usr/lib /usr/lib/libGLU.so /usr/lib/libGL.so -lXt -ldl -lpthread -lm /usr/lib/libglut.so -lSM -lICE -lXmu -lXext -lXi -lX11 -lfltk -lfltk_gl -lfltk_images

and add an
-L/usr/lib/fltk-1.1
your directory could be another .. !

=> it links and runs, sometimes :)
Post Reply

Return to “Zugspiel”

Who is online

Users browsing this forum: No registered users and 3 guests