I'm far from being an expert but these seems broblem I have met before:
I' m not sure to have understood correctly, but is this a problem of
running examples from the DOS command shell without installing OSG on
windows?
I do not know if there are conventions on where OSG to search for
plugins dll's but It seems to me that if you add
<OSG_BUILD_DIR>\lib\osgPlugins-2.0.0\Debug and
<OSG_BUILD_DIR>\lib\osgPlugins-2.0.0\Release to the PATH variable, it works.
It seems to me that the dll (core and plugins) must either reside on the
same folder as the current executable or be in a folder listed in the
PATH variable.
I understand concern on adding this to the the GLOBAL PATH variable, so
I use a script (osgshell.bat) that sets up the proper variable(s).
My script get actually built automatically by the CMake configuration step.
For VisualStudio, I start it from the same osgshell.bat, so it have the
environment properly set.
If this solution could interest someone, let me know, I can assemble a
patch.
Regards
Luigi Calori
Robert Osfield wrote:
Perhaps we should amend the Win32 build so that the plugins get placed
in OpenSceneGraph/bin/osgPlugins-version rather than
lib/osgPlugins-version. Dll's also need to go in the bin directory as
well, although I believe there is a CMake bug that prevents this right
now.
Windows/Cmake experts thoughts?
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/