[opensource-dev] Building Viewer 2, can't get audio to work

2012-01-26 Thread Alistair McDonald
Hi all,

I need some help. I am trying to build Viewer 2 from the Mercurial 
repository ( http://hg.secondlife.com/viewer-development) using VS2010, 
and failing to get audio to work in the viewer (except voice). So, no 
effects when flying, clicking menus, etc.

I think the reason is that fmod is not included in my build

I have read and believe I've followed the instructions in
http://wiki.secondlife.com/wiki/Microsoft_Windows_Builds

In particular, I have done:

hg clone https://bitbucket.org/lindenlab/3p-fmod
cd 3p-fmod
autobuild build --all
autobuild package

Then I have added the hash to the autobuild.xml file (at this stage I 
don't think I will be pushing anything back, so I haven't copied the 
autobuild.xml file)  with the command
autobuild installables edit fmod platform=windows hash= 
url=file:///

Then, I have performed
cd viewer-development
autobuild configure -c ReleaseOS FMOD=YES

At this stage, the output includes these lines:
...
checking package ndofdev
installing ndofdev from archive
extracting ndofdev
...

but the created build-vc100/llaudio/llaudio.vcproj file does not have a 
reference to and of the *_fmod.cpp files.

And if I build with
autobuild build -c ReleaseOS --no-configure
then no fmod.dll is copied/packaged.

If I attempt to configure with the target Release, instead of ReleaseOS, 
then the output from configure starts with checking package fmod
installing fmod from archive
extracting fmod
checking package quicktime
...

but later on the configure fails to download
installing llconvexdecomposition from archive
downloading llconvexdecomposition archive from 
http://s3-proxy.lindenlab.com/private-builds-secondlife-com/hg/repo/3p-llconvexdecomposition/rev/238959/arch/CYGWIN/installer/llconvexdecomposition-0.1-windows-20110819.tar.bz2
unable to download file: 

So, can anyone help me to get around this problem? I have googled and 
searched without success.

Thanks in advance,
Alistair
___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges


Re: [opensource-dev] Building Viewer 2, can't get audio to work

2012-01-26 Thread Alistair McDonald


On 26/01/2012 13:51, Alistair McDonald wrote:
> Hi all,
>
> I need some help. I am trying to build Viewer 2 from the Mercurial
> repository ( http://hg.secondlife.com/viewer-development) using VS2010,
> and failing to get audio to work in the viewer (except voice). So, no
> effects when flying, clicking menus, etc.
> ...
> Then, I have performed
> cd viewer-development
> autobuild configure -c ReleaseOS FMOD=YES
>

I'm a fool, I should have been using

autobuild configure -c ReleaseOS -DFMOD:BOOL=TRUE

Sorry to all!

___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges