Game Development Community

Compiling version 1.0.2

by Alex Parker · in Torque Game Builder · 04/30/2005 (9:42 pm) · 4 replies

When compiling the latest version, I get some errors.

in the file targets.torque.mk I get a missing seperator error, in the following section of the file:

SOURCE.T2D=\
   T2D/fxAnimatedSprite2D.cc \
   T2D/fxAnimationController2D.cc \
   T2D/fxBaseDatablock2D.cc \
   T2D/fxChunkedImageDatablock2D.cc \
   T2D/fxChunkedSprite2D.cc \
   T2D/fxGraphField2D.cc \
   T2D/fxImageMapDatablock2D.cc \
   T2D/fxParticleEffect2D.cc \
   T2D/fxParticleEmitter2D.cc \
   T2D/fxPhysics2D.cc \
   T2D/fxSceneContainer2D.cc \
   T2D/fxSceneGraph2D.cc \
   T2D/fxSceneObject2D.cc \
   T2D/fxSceneWindow2D.cc \
   T2D/fxScroller2D.cc \
   T2D/fxStaticSprite2D.cc \
   T2D/fxTileMap2D.cc \
   T2D/fxUtility2D.cc \
   [b]T2D/fxVector2D.cc[/b] 
   T2D/fxGlobals2D.cc

Which is pretty easy to fix, just put a \ on the end of the line hilighted in bold.

After fixing that, compilation seems to continue okay, after cleaning and building all again, but I get these errors after compilation:

make -k all 
Creating library out.GCC3.RELEASE/lpng.a
Creating library out.GCC3.RELEASE/zlib.a
Creating library out.GCC3.RELEASE/ljpeg.a
Creating library out.GCC3.RELEASE/lungif.a
make[1]: *** No rule to make target 'out.GCC3.RELEASE/platformWin32/winGLSpecial.obj', needed by 'out.GCC3.RELEASE/T2D.exe'.
make[1]: Target 'T2D' not remade because of errors.
make: *** [default] Error 2
make[1]: *** No targets specified and no makefile found.  Stop.
make: *** [tools] Error 2
make: Target 'all' not remade because of errors.

And now I'm lost. I'm using Eclipse and everything compiled fine until I upgraded to ver 1.0.2, I'm still looking around the forums but haven't found anything helpful as yet, but surely I'm not the only one?

#1
05/01/2005 (10:08 am)
Hi Alex, just thought the following thread I posted a few days ago might help:

www.garagegames.com/mg/forums/result.thread.php?qt=29368

Reading the entire thread will likely serve to correct any of the issues you may be having with regards to compiling
T2D version 1.02 using the Torque Build Environment with Eclipse!:) I encountered very similar errors and warnings
and extend my heartfelt thanks to Harold for the solution he kindly provided!:)

Hope this helps!:)
#2
05/01/2005 (6:32 pm)
In addition to what I was noted in that thread for linux there were two additional problems. Posting in this thread as the thread subject is more appropriate.

For linux I found two more problems:

1. No new line at EOF for engine/T2D/fxVector2D.h.
2. linux file systems are case sensitive so "engine/console/simBase.h" is not found when asking for engine/console/simbase.h

This was using gcc 3.3.5 on SuSE 9.3

edit: I'm not sure why #1 caused a problem (it stopped compilation), but that shows up as a warning on numerous files without a problem.
#3
05/02/2005 (2:35 am)
Gabor thanks for that, fixed the problem completely!
#4
05/02/2005 (10:03 am)
Hey, not a problem Alex!:) Glad I could be of some use to you!:)