Compiling in Osx3.9
by Gustavo Munoz · in Torque Game Engine · 10/14/2005 (9:08 am) · 5 replies
Hello, I am an artist from spain and I have just got my copy of the lighting pack, really impresed by the examples. But I have tried to compile version 1.3.5 with no success at all as far. I am working in MacOsX 3.9 and the current Torque HEAD just compiles fine here, so I am lost because of my total lack of programing knowledge. Must I try with the 1.3 version?
Here you have the error mesage I got from Xcode 1.1:
Building target Torque-MacCarb-Debug with build style Development (optimization:level 0, debug-symbols:on) (2 errors, 1 warning)
/usr/bin/g++-3.3 -o "/Applications/TorqueGameEngineSDK/pb/../example/Torque Demo Debug OSX.app/Contents/MacOS/Torque Demo Debug OSX" "-L/Applications/TorqueGameEngineSDK/pb/../example" "-L../lib/vorbis/macosx" "-F/Applications/TorqueGameEngineSDK/pb/../example" "-F../lib/openal/macCarb" -filelist /Applications/TorqueGameEngineSDK/pb/../example/torque_pb_2_1.build/Torque-MacCarb-Debug.build/Objects-normal/LinkFileList "-arch" "ppc" "-prebind" "-Wl,-no_arch_warnings" "-flat_namespace" "-framework" "AGL" "-framework" "Carbon" "-framework" "OpenGL" "-framework" "CoreFoundation" "-framework" "DrawSprocket" "-framework" "CoreServices" "-logg" "-lvorbis"
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
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
I have tried also compile to release, but it gives me the same exact error. Can someone give some advice, step by step, or point me to any resource, please?
Thank you in advance,
Gustavo Muoz
Here you have the error mesage I got from Xcode 1.1:
Building target Torque-MacCarb-Debug with build style Development (optimization:level 0, debug-symbols:on) (2 errors, 1 warning)
/usr/bin/g++-3.3 -o "/Applications/TorqueGameEngineSDK/pb/../example/Torque Demo Debug OSX.app/Contents/MacOS/Torque Demo Debug OSX" "-L/Applications/TorqueGameEngineSDK/pb/../example" "-L../lib/vorbis/macosx" "-F/Applications/TorqueGameEngineSDK/pb/../example" "-F../lib/openal/macCarb" -filelist /Applications/TorqueGameEngineSDK/pb/../example/torque_pb_2_1.build/Torque-MacCarb-Debug.build/Objects-normal/LinkFileList "-arch" "ppc" "-prebind" "-Wl,-no_arch_warnings" "-flat_namespace" "-framework" "AGL" "-framework" "Carbon" "-framework" "OpenGL" "-framework" "CoreFoundation" "-framework" "DrawSprocket" "-framework" "CoreServices" "-logg" "-lvorbis"
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
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
I have tried also compile to release, but it gives me the same exact error. Can someone give some advice, step by step, or point me to any resource, please?
Thank you in advance,
Gustavo Muoz
About the author
#2
Regards,
Gustavo Mu
10/14/2005 (10:25 am)
Thank you, but I cannot do it in the console of the system... do you mean the terminal? I am a totally newbie in this, so please be patiente with me... :)Regards,
Gustavo Mu
#3
10/14/2005 (11:37 am)
Yes, he means the Mac console/terminal, not the TGE console.
#4
10/15/2005 (12:34 am)
Thank you very much, I founded a resource about this.
#5
10/15/2005 (9:09 am)
Whoops that was a little ambiguous, sorry about that. Yes run those commands through the OSX terminal/console.
Torque Owner John Kabus (BobTheCBuilder)
You need to run ranlib on the vorbis libs. Using the console navigate to the "./lib/vorbis/macosx/" directory and run "ranlib *.a".
-John