Game Development Community

GL/Theora/Ogg issue with TEG 1.4 and XCode 2.1?

by John Klima · in Torque Game Engine · 03/27/2006 (4:31 pm) · 3 replies

All,

I'm trying to compile TGE 1.4 with XCode 2.1 on OSX 10.4.5, and am getting the following 5 errors, which I can't solve:

warning prebinding disabled because dependent library: /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib can't be searched
../lib/xiph/macosx/Theora.framework/Theora fileoff plus filesize in load command 0 extends past the end of the file
../lib/xiph/macosx/Vorbis.framework/Vorbis fileoff plus filesize in load command 0 extends past the end of the file
../lib/xiph/macosx/Ogg.framework/Ogg fileoff plus filesize in load command 0 extends past the end of the file
../lib/openal/macosx/OpenAL.framework/OpenAL fileoff plus filesize in load command 0 extends past the end of the file

The file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib is where it should be, as are the .frameworks.

Any ideas? Am I missing something really obvious?

Many thanks!

#1
03/29/2006 (7:27 am)
FYI, I figured it out. The problem was that the Theora, Ogg, Vorbis and OpenAL libraries were just 4k files, arther than the full libraries they should have been. This was the result, it seems, af them being checked into our cvs (NOT the main garagegames cvs) as text rather than binary. Getting the full binaries fixed the problem. Hope this helps someone.
#2
03/29/2006 (8:55 am)
You might also think about upgrading to Xcode 2.2 since 2.1 is not supported by Apple anymore. I think the latest is 2.2.1, but I had some issues with it and went back to 2.2.
#3
03/29/2006 (7:44 pm)
What issues did you have with 2.2.1? I'm building TGE right now w/ it (Release went through without any hiccups, and I'm working on Debug).