Mac Os X Xcode Compiling Nightmare
by Melli Georgiou · in Technical Issues · 11/18/2004 (5:08 am) · 12 replies
Hi Guys,
Im new to torque, and I just downloaded the macintosh version. I have already purchased Xcode and my system is OS x 10.3.6
When I tried to build Torque I recieve the following in my Build Results:
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 "/Users/melligeorgiou/TorqueGameEngineSDK/pb/build/Torque Demo Debug OSX.app/Contents/MacOS/Torque Demo Debug OSX" "-L/Users/melligeorgiou/TorqueGameEngineSDK/pb/build" "-L../lib/vorbis/macosx" "-F/Users/melligeorgiou/TorqueGameEngineSDK/pb/build" "-F../lib/openal/macCarb" -filelist /Users/melligeorgiou/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
If any one can help me with this Id be thankful.. Im more of a graphics person you see, and this stuff is really baffling me!
Thanks!
-Mel
Im new to torque, and I just downloaded the macintosh version. I have already purchased Xcode and my system is OS x 10.3.6
When I tried to build Torque I recieve the following in my Build Results:
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 "/Users/melligeorgiou/TorqueGameEngineSDK/pb/build/Torque Demo Debug OSX.app/Contents/MacOS/Torque Demo Debug OSX" "-L/Users/melligeorgiou/TorqueGameEngineSDK/pb/build" "-L../lib/vorbis/macosx" "-F/Users/melligeorgiou/TorqueGameEngineSDK/pb/build" "-F../lib/openal/macCarb" -filelist /Users/melligeorgiou/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
If any one can help me with this Id be thankful.. Im more of a graphics person you see, and this stuff is really baffling me!
Thanks!
-Mel
About the author
Recent Threads
#2
Yeh, I've tried recompiling, still the same error messages.. There seems to be no MAC ogg vorbis drivers.. I went to http://www.vorbis.com/ and It seems only to be for Windows and UNIX. Unless I missed something? The only mac stuff there seems to be 3rd party ogg players..
-Mel
11/18/2004 (5:47 am)
Hi Nick, thanks for posting..Yeh, I've tried recompiling, still the same error messages.. There seems to be no MAC ogg vorbis drivers.. I went to http://www.vorbis.com/ and It seems only to be for Windows and UNIX. Unless I missed something? The only mac stuff there seems to be 3rd party ogg players..
-Mel
#3
11/18/2004 (5:50 am)
Try doing what it says. run 'ranlib' on libogg.a and libvorbis.a That will fix that error.
#4
Yeh, I've tried recompiling, still the same error messages.. There seems to be no MAC ogg vorbis drivers.. I went to http://www.vorbis.com/ and It seems only to be for Windows and UNIX. Unless I missed something? The only mac stuff there seems to be 3rd party ogg players..
-Mel
11/18/2004 (5:55 am)
Hi Nick, thanks for posting..Yeh, I've tried recompiling, still the same error messages.. There seems to be no MAC ogg vorbis drivers.. I went to http://www.vorbis.com/ and It seems only to be for Windows and UNIX. Unless I missed something? The only mac stuff there seems to be 3rd party ogg players..
-Mel
#5
Umm.. Come again? lol I really am a newbie at this. How do I run 'ranlib' on libogg.a and libvorbis.a?
-Mel
11/18/2004 (5:56 am)
Hi Kurtis..Umm.. Come again? lol I really am a newbie at this. How do I run 'ranlib' on libogg.a and libvorbis.a?
-Mel
#6
11/18/2004 (6:00 am)
Here ya go: developer.creative.com/articles/article.asp?cat=1&sbcat=31&top=38&aid=97&file=Op...
#7
had OpenAL installed. Reinstalled it, tried it again. Still the same errors.
-Mel
11/18/2004 (6:17 am)
Thanks Nicholas. But still the same.had OpenAL installed. Reinstalled it, tried it again. Still the same errors.
-Mel
#8
And I seems to be something to do with VORBIS. Has any mac people got this new build working?
I downloaded the mac .dmg file today from garagegames today.. So I assume I'm running the latest build.
11/18/2004 (7:17 am)
Man.. this is driving me nuts!! lol are there any more mac developers out there that have any ideas on whats going on with this? (I'm using Xtools if I havnt already stated).And I seems to be something to do with VORBIS. Has any mac people got this new build working?
I downloaded the mac .dmg file today from garagegames today.. So I assume I'm running the latest build.
#9
Then type 'ranlib *.a'
11/18/2004 (7:35 am)
Use the console, go to the directory with libogg.a, which should be torque/lib/vorbis/macosxThen type 'ranlib *.a'
#10
And I seems to be something to do with VORBIS. Has any mac people got this new build working?
I downloaded the mac .dmg file today from garagegames today.. So I assume I'm running the latest build.
11/18/2004 (7:42 am)
Man.. this is driving me nuts!! lol are there any more mac developers out there that have any ideas on whats going on with this? (I'm using Xtools if I havnt already stated).And I seems to be something to do with VORBIS. Has any mac people got this new build working?
I downloaded the mac .dmg file today from garagegames today.. So I assume I'm running the latest build.
#11
Had to learn some unix.. but nothing a few web forums didnt fix! It compiled successfully but had 36 warnings. I dont know if thats cool, but Im just happy that the damn thing compiled! LOL
Thanks to everyone that tried to help me out too! Really appreciate it!
-Mel
11/18/2004 (8:19 am)
Thanks pat!Had to learn some unix.. but nothing a few web forums didnt fix! It compiled successfully but had 36 warnings. I dont know if thats cool, but Im just happy that the damn thing compiled! LOL
Thanks to everyone that tried to help me out too! Really appreciate it!
-Mel
#12
11/18/2004 (12:23 pm)
Yeah, the warnings (duplicate symbols) are harmless, but a little annoying. Oh well.
Torque Owner Nicholas Driscoll
-Nick