Hello Mike,
Just to be clear, I'm talking about where the win32 installer puts
things, not where the build system puts things.
But that's just it: right now, the installer and the build system do
the same thing! What I'm asking about is: is that the right thing?
Maybe in point-form, it'll be clearer.
Linux:
- binaries go in .../bin
- shared libs go in .../lib
- plugins go in .../lib/osgPlugins-<version>
- .../bin needs to be added to the PATH
- .../lib needs to be added to the LD_LIBRARY_PATH
- OSG finds the plugins in .../lib/osgPlugins-<version> even if it isn't in
PATH or LD_LIBRARY_PATH.
Windows (installer _and_ build system after INSTALL target)
- binaries go in .../bin
- shared libs go in .../bin
- plugins go in .../bin
- .../bin needs to be added to the PATH
- there is no LD_LIBRARY_PATH on Windows, so shared libs (DLLs) need to be in
.../bin, but should plugins be in .../bin/osgPlugins-<version> instead, for
consistency?
- OSG finds the plugins in .../bin, but it would find them in
.../bin/osgPlugins-<version> too, so it's just for cross-platform
consistency's sake.
Is that any clearer?
Just to reiterate, I'm not questioning how your installer does things,
because as noted above, it's exactly the same thing that the build
system does. The question is should the build system be changed on
Windows to do the same thing (or equivalent, considering there is no
LD_LIBRARY_PATH) as on other platforms?
I seem to be droning on about something no one cares about anyways, so
this is my last attempt. If it's not clear by now, I'll just drop the
issue, and write it off as "if it ain't broke, don't fix it".
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
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/