Xcode & oggvorbis libs
by Mathieu · in Torque Game Engine · 11/01/2003 (9:39 am) · 10 replies
I'm trying to compile the HEAD on XCode and Panther.
XCode convert the .pbproj from Project Builder just fine but I'm having 2 errors during the compilation :
Any idea ?
XCode convert the .pbproj from Project Builder just fine but I'm having 2 errors during the compilation :
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)
Any idea ?
About the author
Developer at frogames.com / frogames.net
#2
11/02/2003 (4:15 am)
It works, thanks !
#3
11/15/2003 (11:49 am)
I'm having another problem since I updated Xcode to version 1.01...ld: Undefined symbols: _vorbis_info_blocksizeAnyone is having this problem too ?
#4
- Mark
11/17/2003 (10:47 am)
Strange... I just compiled under Xcode 1.01 and I don't get any errors.- Mark
#5
11/19/2003 (10:56 am)
Well the actual reason why you would do all of this is because inside the vorbis and ogg libraries is instructional code that tells the computer where to find the header files and such. If you happen to put the libs in the same directory as when they were created, then they work as if they were meant to be there. Otherwise, recreating the index tells the computer its location. Alternatively, you could just download a precompiled version of the libs from the vorbis website (I think its www.vorbis.com).
#6
Does anyone had installed the OpenAL Runtime Librairie from the following page ?
www.garagegames.com/docs/torque/gstarted/openal.html
I dont know if it's related but I don't have sound in any Torque game even after having installed it.
11/23/2003 (5:37 am)
After re-installing XCode 1.0 I still have the problem (_vorbis_info_blocksize)...Does anyone had installed the OpenAL Runtime Librairie from the following page ?
www.garagegames.com/docs/torque/gstarted/openal.html
I dont know if it's related but I don't have sound in any Torque game even after having installed it.
#7
Ok, so it was hidden files (libraires & includes) from old vorbis lib (macosx.forked.net) who made this mess. After a new ranlib it compile fine. (but I still don't have sound with the Torque Demo for exemple)
11/23/2003 (6:00 am)
Yata !Ok, so it was hidden files (libraires & includes) from old vorbis lib (macosx.forked.net) who made this mess. After a new ranlib it compile fine. (but I still don't have sound with the Torque Demo for exemple)
#8
01/20/2004 (3:30 pm)
I checked in updated ogg and vorbis libs. They may or may not fix this problem for you. Regardless, Torque complains I don't have OpenAL installed when I run it. :)
#9
01/29/2004 (8:15 pm)
I ran ranlib, but now I'm getting like tons 'o duplicate warnings. What's up with that?
#10
02/09/2004 (12:06 am)
Does it compile and run? I don't really know what's causing the dup's.
Torque Owner Michael Gesner
Go to your command prompt.
type:
ranlib libogg.a
ranlib libvorbis.a
(from the directory they are in)
You might have to do this with sudo, but its worked just fine for me without.
This will update the TOC of the libraries.