[opensource-dev] Is 'STANDALONE' confusing?

Philippe (Merov) Bossut merov at lindenlab.com
Thu Mar 3 23:46:44 PST 2011


Hi Jonathan,

On Thu, Mar 3, 2011 at 2:31 AM, Jonathan Welch <jhwelch at gmail.com> wrote:

> > In case where you cannot (or don't want to) use the LL prebuilt binary
> (e.g.
> > fmod) and/or do not have them in some system folder (Find<package>.cmake
> > won't find them), you can (or should) specify a path using:
> > -D<package>_INCLUDE_DIR=<path> -D<package>_LIBRARY=<path>
>
> I tried many variations of this for Fmod, with "/" and "\" in the path,
> etc.
> in the autobuild configure step but could not get it to work.
>
> From my configure .bat file:
> -DFMOD_INCLUDE_DIR:PATH=e:\olibs\linden\libraries\include
>
>  Directory of e:\olibs\linden\libraries\include
>
> 11/24/2010  09:30 AM    <DIR>          .
> 11/24/2010  09:30 AM    <DIR>          ..
> 10/28/2005  10:58 AM            74,634 fmod.h
> 11/09/2005  11:59 AM            39,872 fmoddyn.h
> 10/28/2005  10:59 AM             1,721 fmod_errors.h
>
> I still get the error fmod.h not found
>
> Am I missing something obvious or is this supposed to work but doesn't?
>

On another thread, Twisted was reporting success with using the following:

autobuild --debug configure -c VC10msbuildRelWithDebInfo --
-DLL_TESTS:BOOL=OFF -DFMOD:BOOL=ON -DFMOD_INCLUDE_DIR=C:\Dev\fmod
-DFMOD_LIBRARY=C:\Dev\fmod

Of course, we are talking about using autobuild here. I suppose this is what
you've been trying to get going as well.

My advice would be:
- Try adding the -DFMOD_INCLUDE_DIR=E:\olibs\linden\libraries\include on the
command line directly.
- If you're not using a Cygwin command line, add it in the relevant
configuration in autobuild.xml

Cheers,
- Merov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/opensource-dev/attachments/20110303/c9ca52df/attachment.htm 


More information about the opensource-dev mailing list