HI Serge,

What is your PATH currently set to?

Robert.

On 8/20/07, Serge Lages <[EMAIL PROTECTED]> wrote:
> On 8/20/07, Jean-Sébastien Guay <[EMAIL PROTECTED]> wrote:
> > Hello Serge,
> >
> > > After an INSTALL build, all my dlls are put into the same target
> directory,
> > > there is no more an osgPlugins-version directory (it is the CMAKE
> default
> > > behaviour under Windows).
> >
> > No, the default behaviour on Windows is the same as on other platforms
> > - to make a bin\osgPlugins-Version directory below your
> > CMAKE_INSTALL_PREFIX and copy the plugins there. If this is not
> > happening then you probably have a stale CMakeCache.txt file, you
> > should probably delete it and re-do your CMake config and rebuild then.
> >
> >
>
> I have reverted the Robert's modification and tried a INSTALL build (after
> deleting CMakeCache files), and there is no osgPlugins-version directory. I
> need Robert's modified file to get it, and I use the SVN version. My CMake
> version is 2.4.
>
> Now here is my input if I have the dlls into the same folder than
> osgviewer.exe :
> itr='C:\WINDOWS\system32'
> FindFileInPath() : trying C:\WINDOWS\system32\osgPlugins-2.1.6\osgdb_osg.dll
> ...
> itr='C:\WINDOWS'
> FindFileInPath() : trying C:\WINDOWS\osgPlugins-2.1.6\osgdb_osg.dll ...
> itr='C:/Windows/System/'
> FindFileInPath() : trying C:\Windows\System\osgPlugins-2.1.6\osgdb_osg.dll
> ...
> itr='C:\WINDOWS\system32'
> FindFileInPath() : trying C:\WINDOWS\system32\osgdb_osg.dll
> ...
> itr='C:\WINDOWS'
> FindFileInPath() : trying C:\WINDOWS\osgdb_osg.dll ...
> itr='C:/Windows/System/'
> FindFileInPath() : trying C:\Windows\System\osgdb_osg.dll ...
> DynamicLibrary::failed loading "osgPlugins-2.1.6/osgdb_osg.dll"
> Warning: Could not find plugin to read objects from file "axes.osg".
> osgviewer.exe: No data loaded
>
> Here is the same with a osgPlugin-version directory (into the application
> folder) :
> itr='C:\WINDOWS\system32'
> FindFileInPath() : trying C:\WINDOWS\system32\osgPlugins-2.1.6\osgdb_osg.dll
> ...
> itr='C:\WINDOWS'
> FindFileInPath() : trying C:\WINDOWS\osgPlugins-2.1.6\osgdb_osg.dll ...
> itr='C:/Windows/System/'
> FindFileInPath() : trying C:\Windows\System\osgPlugins-2.1.6\osgdb_osg.dll
> ...
> FindFileInPath(osgPlugins-2.1.6/osgdb_osg.dll): returning
> osgPlugins-2.1.6/osgdb_osg.dll
> CullSettings::readEnvironmentalVariables()
> CullSettings::readEnvironmentalVariables()
> Opened DynamicLibrary osgPlugins-2.1.6/osgdb_osg.dll
> FindFileInPath(axes.osg): returning axes.osg
>
> As a note : I don't have any plugin into my systems folders (I have double
> checked it).
>
>
> --
> Serge Lages
> http://www.magrathea-engine.org
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to