Game Development Community

Minor OSX project error

by Ben Shive · in Torque Game Builder · 03/03/2005 (8:31 am) · 4 replies

Building target "Torque2D-MacCarb-Debug" with build style "Development" (optimization:level '0', debug-symbols:on) (2 errors, 2 warnings)
ld: warning -L: directory name (/Josh/Programming/engines/Torque2D/EA1/Release_1_0_Base/torque2d/branches/t2dea1/lib/vorbis/macosx) does not exist
ld: table of contents for archive: ../lib/vorbis/macosx/libogg.a is out of date; rerun ranlib(1) (can't load from it)
ld: table of contents for archive: ../lib/vorbis/macosx/libvorbis.a is out of date; rerun ranlib(1) (can't load from it)
ld: warning prebinding disabled because dependent library: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices can't be searched

Easily fixed and release instead of debug works great out of the box, but thought I'd let you guys know.

#1
03/03/2005 (9:05 am)
Thanks Ben! I'll pass this info along.

- Melv.
#2
03/04/2005 (12:02 pm)
Yep thanks Ben, this is a known thing w/ Torque / Torque 2D on OS X. Those .a's just need ranlib run on 'em. There's a FAQ and stuff on the site about it.

In the next release of TGE (which T2D will be sync'd up with) we'll switch over to the ogg and vorbis frameworks, instead of the old .a's, so this problem will go away. Thanks for the report!
#3
03/04/2005 (12:22 pm)
Btw, for those of us who haven't updated to Panther, or the Tiger dev preview, the project files can be used with Project Builder under Jaguar, with the 3.3 GCC Update
You simply have to add the following in Build Settings/Settings/Expert View for both Release and Debug targets, once you've installed the gcc 3.3 update (you have to do this will all projects you want that versio of Project Builder to use gcc 3.3) :

CC = /usr/bin/gcc-3.3
CPLUSPLUS = usr/bin/g++-3.3
GCC_VERSION = 3.x

Do a clean build and T2D will build just fine, no other changes needed for the project file.
You do have to let ProjectBuilder open it when it tells you it was saved with a newer version.
#4
03/04/2005 (3:21 pm)
Thanks Nic!