Hi Jonathan,

On Thu, Mar 3, 2011 at 2:31 AM, Jonathan Welch <jhwe...@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
_______________________________________________
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

Reply via email to