0
0

I tried to install fmod for use with MacOS X 10.1 but I could’nt figure out how to install/use it. When I tried to link using something like

gcc -o testfmod -Lfmod-lib -lfmod testfmod.o

(libfmod.a resides in ./fmod-lib/) but gcc complained:

/usr/bin/ld: table of contents for archive: fmod-lib/libfmod.a is out of date; rerun ranlib(1) (can’t load from it)

then (at this point I don’t know what I was doing…) tried to run ranlib:

ranlib fmod-lib/libfmod.a

which complained too:

ranlib: same symbol defined in more than one member in: fmod-lib/libfmod.a (table of contents will not be sorted)
ranlib: file: fmod-lib/libfmod.a(ExceptionPPC.cp.o) defines symbol: ___dt__Q23std9exceptionFv
ranlib: file: fmod-lib/libfmod.a(NewMore.cp.o) defines symbol: ___dt__Q23std9exceptionFv
ranlib: file: fmod-lib/libfmod.a(MWRTTI.cp.o) defines symbol: ___dt__Q23std9exceptionFv
ranlib: file: fmod-lib/libfmod.a(NewMore.cp.o) defines symbol: ___vt__Q23std9exception
ranlib: file: fmod-lib/libfmod.a(MWRTTI.cp.o) defines symbol: ___vt__Q23std9exception
ranlib: file: fmod-lib/libfmod.a(ExceptionPPC.cp.o) defines symbol: ___vt__Q23std9exception
ranlib: file: fmod-lib/libfmod.a(NewMore.cp.o) defines symbol: _what__Q23std9exceptionCFv
ranlib: file: fmod-lib/libfmod.a(MWRTTI.cp.o) defines symbol: _what__Q23std9exceptionCFv
ranlib: file: fmod-lib/libfmod.a(ExceptionPPC.cp.o) defines symbol: _what__Q23std9exceptionCFv

So now I don’t know how to get this to work. Haven’t found any useful documentation either. Installation advice in the download (fmodapi360mac.sit) would be nice.

  • You must to post comments
0
0

For some reason it appears you need to run ranlib on MacOS X if you move the .a file. Don’t ask me I’ve no idea why.

Although I can get the sample compiling, in real use (Mac port of DROD) I get complaints that FMOD is defining a symbol called realloc which is clashing with the one in the Cocoa Framework (yes I do need it).

I would suggest leaving the .a where it is and using it from there.

Although a Framework version of the MacOS X release would be nice ๐Ÿ˜‰ (hint hint?).

  • You must to post comments
0
0

Thanks, I’ve been banging my head against the monitor for ages over that ๐Ÿ˜‰

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.