[sldev] Re: [VWR] fmod.dll not found

Soft soft at lindenlab.com
Sun May 4 11:44:57 PDT 2008


On Sun, May 4, 2008 at 1:37 PM, Anna Gulaev <annagulaev at gmail.com> wrote:
> How does a windows program built with visual studio know where to look for
> DLLs?
>
> Every suggestion I can find says to put the path in the PATH environment
> variable. Clearly, this is not how the SL viewer knows to find fmod.dll in
> the newview directory, because I don't have newview in my path, and version
> 1.18.4.3 worked fine. 1.20.rc5 does not find it. 1.18.4.3 does.
>
> the fmod DLL is here: /cygdrive/c/sl/1.20.rc5/linden/indra/newview
> the executable is here: /cygdrive/c/sl/1.20.rc5/linden/indra/newview/Release
>
> How is the SL viewer finding (or not!) the fmod DLL?

Hello, Anna. I believe that Windows treats the current directory as
though it were part of the path. So what you probably want to do if
you wish to run the viewer in this fashion is to make a shortcut or a
batch file that sets the newview directory as the current directory,
and then run the release executable without actually switching to that
directory.


More information about the SLDev mailing list