[sldev] [HELP] Compilation error & no sound

Atashi Toshihiko atashi at felesmagus.com
Thu Jan 22 19:47:10 PST 2009


Thanks for the information Poppy,

I can see that reference in the indra/newview/CMakeLists.txt file, but  
there is no reference in XCode to libfmodwrapper.  It is not listed in  
the targets dropdown, and when I search for it, there are no hits.

I've tried copying the libfmodwrapper.dylib out of the release viewer  
into the contents of my compiled one, but that's not enough to make it  
work.  I guess it needs to be in there during the compile or linking  
process...

-Atashi



On 22-Jan-2009, at 20.11.09, Paul Oppenheim (Poppy Linden) wrote:

> Briefly, that's in indra/newview/CMakeLists.txt - fmodwrapper  
> target. You need that for building with fmod audio, but AFAIK it  
> *should* work without, as you're seeing. Check the warnings you get  
> in XCode when you build that target alone for more info.
>
> + poppy
>
> Atashi Toshihiko wrote:
>> Hello & greetings - I'm new to the SL open source stuff and am  
>> working on getting the viewer to compile.  I'm using the sources  
>> for the current release viewer, 1.21.6 and my platform is:
>> Macintosh iMac, Core2 Duo, 4GB RAM, OS X 10.5.6
>> I've followed all the steps on the wiki pages for building on a Mac.
>> The error message I get seems to come right at the very end, after  
>> the Linking step the progress says it's running 3 shell scripts,  
>> and the third script is where the error comes out.
>> RuntimeError: Path /Users/atashi/Documents/SL_Source/linden/indra/ 
>> build-darwin-i386/newview/Release/libfmodwrapper.dylib doesn't exist
>> I have searched through the XCode project and can't find any  
>> reference to libfmod and I've searched through my build directory  
>> tree (/Users/atashi/Documents/SL_Source/linden) and the only  
>> references to libfmod are the ones that were copied over from the  
>> fmod download as per the instructions on the wiki page, but none of  
>> those are .dylib they are all .a files.
>> Having said all that, the compile does result in a Second Life.app  
>> application, although it's missing the arguments.txt file.  If I  
>> put an arguments.txt in there, then I can load and run and connect  
>> to the grid without any obvious problems, except that there is no  
>> sound at all.  The sound functions appear there on the screen but  
>> the sound is not happening.
>> I'm thinking the build error and the missing sound are related, but  
>> I don't know what to do about it.
>> Any suggestions would be most appreciated.
>> Thank you!
>> -Atashi
>> _______________________________________________
>> Policies and (un)subscribe information available here:
>> http://wiki.secondlife.com/wiki/SLDev
>> Please read the policies before posting to keep unmoderated posting  
>> privileges
>



More information about the SLDev mailing list