Hi Eron,

The version number is inserted into the plugin directory name to avoid
problems with mixing plugins of different versions to that linked to
at compile time.

You should not need to ever encode the plugin directory path into your
app, only the path to the parent directory of the plugin directory, as
osgDB will automatically prepend the correct osgPlugin-version
directory to the path when it can't find a plugin straight away.

Robert.

On 7/30/07, Eron Steger <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm curious as to why the compiled 'osgPlugins' directory on Windows
> contains the version in the directory's name (i.e.
> OpenSceneGraph\lib\osgPlugins-2.1.2\debug).  This provides a constant
> annoyance everytime the version is updated, as the path has to be
> updated.  As well, since the rest of the compiled osg library doesn't
> have a version associated with it, it doesn't really provide backward
> compatibility since those other files will be clobbered when compiling a
> new release.
>
> - Eron
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to