Hi,

What's the best practice regarding OSG deployment on Windows? Indeed,
several plug-ins depend on external libraries. Is it best to put the
required DLLs in OSG_ROOT\bin\osgPlugins-X.Y.Z or rather in
OSG_ROOT\bin, thus ensuring that OSG_ROOT\bin is in the PATH so that
the plug-ins can find them?

With this last approach, there's only one copy of each DLL shared by
the OSG applications, plug-ins and examples. The drawback is that if a
similarly named DLL is found in the PATH before reaching OSG_ROOT\bin,
an incorrect DLL may be loaded.

By contrast, copying the required DLLs in
OSG_ROOT\bin\osgPlugins-X.Y.Z may also require copying them in
OSG_ROOT\bin as well as in OSG_ROOT\share\OpenSceneGraph\bin.

Any advice on what's better?

     Émeric
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to