Hello Robert,
>> Robert:
>> I would suggest that the build problem which exists is that the
>> INSTALL target is not built by default. When the user opens the
>> CMake-generated project file and presses F7 (Build All), it builds
>> everything in CMake's temp directories, and then says something like
>> "INSTALL target not selected for building - skipping". If the INSTALL
>> target were built by default at the end of the Build All step, users
>> would not be misled into thinking that the files need to be used in
>> those temp CMake directories. As it stands, I'm sure most Windows
>> users build OSG and don't even see that there's an INSTALL target.
>> Most Windows users are not familiar with 'make; make install' from the
>> Unix world, so they will not have the intuition to look for an INSTALL
>> target...
>
> Perhaps adding osgPlugin-version/release or osgPlugin-version/debug as
> well as the standard osgPlugins-version path to search path would
> workaround these Windows issues.
You mean to the path osg.dll will search for plugins? No, that won't
work, because the paths in question are under the lib/ dir (that is
where CMake builds the plugins, before they are copied to
bin/osgPlugins-<version> in the INSTALL target). So even if osg.dll
searched for plugins in (any path here)/osgPlugins-<version>/release,
since OpenSceneGraph/lib is not in the path (and should not be either)
it won't work.
Once the INSTALL target is built, the plugins are in
bin/osgPlugins-<version>, with only the 'd' suffix to differentiate
between debug and release versions, as it should be.
The solution is simple, really - users should learn to build the
INSTALL target in the Visual Studio project files. To simplify this,
the INSTALL target should be the default target in a batch build. But
I think we shouldn't put in any workarounds when the true solution is
so simple.
J-S
--
______________________________________________________
Jean-Sebastien Guay [EMAIL PROTECTED]
http://whitestar02.webhop.org/
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org