[sldev] Mac Build Instructions / Universal / FMOD

Aimee Walton aimee at ama-zing.co.uk
Mon Jul 21 19:16:58 PDT 2008


OK, following the Mac build instructions to the letter there seems to  
be one remaining problem. TThe build instructions say to install the  
FMOD libraries with ...

$ cp -p fmodapi375mac/api/inc/*.h linden/libraries/include
$ cp -p fmodapi375mac/api/lib/libfmod.a linden/libraries/powerpc- 
darwin/lib_debug
$ cp -p fmodapi375mac/api/lib/libfmod.a linden/libraries/powerpc- 
darwin/lib_release
$ cp -p fmodapi375mac/api/lib/libfmodx86.a linden/libraries/i386- 
darwin/lib_debug/libfmod.a
$ cp -p fmodapi375mac/api/lib/libfmodx86.a linden/libraries/i386- 
darwin/lib_release/libfmod.a

Cmake however doesn't detect the fmod library there as it's only  
searching in linden/libraries/universal-darwin. This means it  
disables fmod and builds without libfmodwrapper ... which  
viewer_manifest.py then tries to copy ... and dies.

Easiest solution seemed to be to create a fat library when doing the  
copy, changing the above to ...

cp -p ../fmodapi375mac/api/inc/*.h linden/libraries/include

lipo -create fmodapi375mac/api/lib/libfmod.a fmodapi375mac/api/lib/ 
libfmodx86.a -output linden/libraries/universal-darwin/lib_release/ 
libfmod.a
cp -p linden/libraries/universal-darwin/lib_release/libfmod.a linden/ 
libraries/universal-darwin/lib_debug/libfmod.a

Should I put that on the Wiki or is there another preferred solution?

Aimee.

PS. Still seem to be those few files missing from llrender in the  
featurettes-5 branch *Nudges Soft softly* :D blindly copying them  
over from release "seems" to work though at the moment.






More information about the SLDev mailing list