Hi Serge,

What is intended to happen is that the plugins should all reside in a
osgPlugins-version directory, both in install and when you use it
locally in your app.  The osgPlugins-version directory is there to
help prevent mixing of different versions of the OSG.  osgDB now
enforces the prefixing of the osgPlugins-version directory to prevent
problems with mixing version.

If the install isn't doing this under Windows then this needs to be
fixed, I was under impression that the install was doing the right
thing under Windows, but if it isn't this clearly needs fixing.

Robert.

On 8/20/07, Serge Lages <[EMAIL PROTECTED]> wrote:
> Hi Robert,
>
> Since the last changes on osgDB/FileUtils.cpp and osgDB/Registry.cpp I have
> a strange behaviour with the plugins loading (I work under Windows XP and
> Visual Studio 2005).
>
> 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). Then each of my apps copy these dlls into their
> own base directory (the same as the application's executable file). But from
> this point I can't launch my application, it doesn't manage to load the
> plugins. The only solution I have is to add to my path the "./" location. It
> forces to check into the current directory.
>
> I think this behaviour is nor correct, right ? It should automatically check
> for the "./", or a am I obliged to put the dlls into a osgPlugins-version
> directory ?
>
> Thanks in advance for your help.
>
> --
> 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