Game Development Community

Release_1_3_1 compiling frameAllocator.h missing

by Witchdoctor · in Torque Game Engine · 04/02/2005 (8:11 am) · 12 replies

Ok Just trying to get started here.

Setup:

Gentoo 2.6.11-gentoo-r4, GCC 3.4.3, SDL, OpenAL
I didn't install Mesa3D but I understand it gets isntalled
with OpenGL stuff. Besides I got the 3D OpenGL
acceleration working and the demo torque.bin ran fine.
So, I figured I was ok. Not related to this issue anyway.
OS=LINUX COMPILER=GCC3.4+

Got the download demo to run fine.

Bought torque, TorqueGameEngineSDK-1.3.bin, wouldn't compile because I have GCC3.4+, (thanks forums!) so I tried downloading the CVS HEAD last night (20050401) This had lots of errors, notable the engine targets.torque.mk was mising an entire directory level for gui which when fixed locally led to yet more issues. So I decided to try a stabe revision and downloaded Release_1_3_1 which has the GCC3.4+ tag.

Throws a bunch of errors:

--> Compiling audio/audioBuffer.cc
[b]audio/audioBuffer.cc:10:32: sim/frameAllocator.h: No such file or directory[/b]
audio/audioBuffer.cc: In static member function 'static Resource<AudioBuffer> AudioBuffer::find(const char*)':
audio/audioBuffer.cc:106: error: 'FrameAllocator' has not been declared
audio/audioBuffer.cc:106: error: 'getWaterMark' undeclared (first use this function)
audio/audioBuffer.cc:106: error: (Each undeclared identifier is reported only once for each function it appears in.)
audio/audioBuffer.cc:116: error: 'FrameAllocator' has not been declared

And in fact, in the engine/sim directory there is no frameAllocator.h || .cc. So the question is how to resolve this. I find an entry in the HEAD but its in the engine/core directory and not relly sure if its cimpaitble. I can't find an old copy in the src tree in the engine/siim directory either

bash-2.05b$ cvs status -v torque/engine/sim/frameAllocator.h
cvs [status aborted]: no such directory 'torque/engine/sim'
bash-2.05b$ cvs status -v engine/sim/frameAllocator.h
cvs [status aborted]: no such directory 'engine/sim'

Thoughts?

Rick

#1
04/02/2005 (8:21 am)
Actually TorqueGameEngineSDK-1.3.bin will compile with gcc 3.4.x, check out both of these threads

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

As for 1.3.1 haven't tried it yet.
#2
04/02/2005 (9:12 am)
Yeah I had tried these but failed. Reviewing again I fixed a stupid little typo which led to a compiled running 1.3 DEBUG version. Off and running.

Thanks,
Rick
#3
04/02/2005 (2:24 pm)
1.4 is not updated for macs yet. Sorry! Coming soon, I'm sure...
#4
04/02/2005 (2:36 pm)
LOL Ben, whats that got to do with the problem he's got?
#5
04/02/2005 (3:42 pm)
Rick: The files are in the 1.3.0 copying them over seems to do the trick but then other stuff seems to be broken. You might want to shy away for now from the cvs version.

Ben: :)
#6
04/02/2005 (4:45 pm)
Yeah i'm X86... Athlon XP 3000 to be specific.

I see the additional errors your talking about by copying the files ove and compilingr. I could probably wade through and try to figure them out, but not worth it. At this point, as I think you were elluding to, since I have a working 1.3 DEBUG I will be spending time learning about then engine rather than being bogged down with getting 1.3.1 working. So I'll leave satisied with 1.3 for now and continue wreading the tut's and game docs.

Thanks again,

Rick
#7
04/02/2005 (5:13 pm)
Yeah i'm X86... Athlon XP 3000 to be specific.

I see the additional errors your talking about by copying the files ove and compilingr. I could probably wade through and try to figure them out, but not worth it. At this point, as I think you were elluding to, since I have a working 1.3 DEBUG I will be spending time learning about then engine rather than being bogged down with getting 1.3.1 working. So I'll leave satisied with 1.3 for now and continue wreading the tut's and game docs.

Thanks again,

Rick
#8
05/14/2005 (11:05 am)
There is something wrong with the 131 release. the other errors you are encoutering are because the gui directory is missing. Any garage games staff reading this better check this. sound like n error on ther CVS server.(over eger with the del key?). Cause i know i have complied this version before and from cvs.
#9
05/14/2005 (11:28 am)
The CVS for 1_3_1 is screwed up, just use the downloadable SDK it's the same thing but it works.
#10
05/17/2005 (2:56 pm)
Not really the sdk seems to be version 1.3.0. which doesn't have the GCC3.4+ compiler configuration which takes care of a lot of the problems people have been having with compiling on linux.
#11
05/17/2005 (3:17 pm)
There are several issues with compileing TGE 1.3.x (currently) under linux, I have found and fixed a few issues. NJoteable the frameAllocate.h (which has moved to the core dir), the new gui directory structure, fixed guiOtherTreeViewCtrl and added the EXT_blend_color / EXT_blend_minmax (which is in windows platforum cruft) to the linux platform code.

I am going to wrap up my changes and send them to Sir BenG (the platform guy ;) )

-Ron
#12
07/06/2005 (2:24 pm)
Just downloaded the 1.3.1 using CVS, and yes... I got 89 errors due to missing files! (compiler: VC++ 6)

I've downloaded the 1.3' SDK, and there are some missing files too, or errors using DirectShow causing some inclusion problems.
I just wanted to add video playback in Torque, with DirectShow events, and so it didn't work for me with the downloadable SDK.

As 1.4 is not released, I'd like to know what SDK is REALLY complete ?

Thx