Hi Robert,

I've tested it under Windows and there is no versionning for the .dll files,
the only change is that the plugins are now into a versionned directory (
osgPlugins-1.9.4).

I must admit that it makes me more complicated to manage my projects with
this system, as each of my project have post build commands to copy the
required dll into its working directory. So now to stay up to date with the
plugins and to not mix core dll (not versionned) with inappropiate plugins
dll, I'll have to update all my batch for each new version. :/ Or the other
alternative will be to copy all the osgPlugins-* directories and let osgDB
load the good ones, but it's not a very clean solution...

Under Linux I think that this system is more appropriate, but under Windows
with the lack of symbolic links and with the fact that installing the dll
into system directories is not something recommanded, I don't see any
benefits, IMHO it's even more complicated now.


On 5/20/07, Robert Osfield <[EMAIL PROTECTED]> wrote:

Hi All,

To east the pain of managing multiple versions of the OSG installed on
one machine I have added versioning into OpenSceneGraph and
OpenThreads build system.  On the next build what you should see is:

   lib/libosg.so -> libosg.so.6
   lib/libosg.so.6 -> libosg.1.9.4  // soversion (version of the
interface, and binary compatibility)
   lib/libosg.1.9.4 // the real library.
   lib/....

   lib/osgPlugins-1.9.4/osgdb_osg.so
   lib/osgPlugins-1.9.4/osgdb_ive.so  // note, no symbolic links, just
the versioned directory

I have also tweaked osgDB so that it uses its version number to know
what osgPlugins directory to look up, so in the case of the SVN
version its currently looking for osgPlugins-1.9.4.

Tomorrow is the day of the week dev release, so I'll be bumping up the
library version number to 1.9.5 and soversion as 7, the later needs to
be bumped up as there has been a few minor changes to the API.

So far testing on my own Linux box suggest that everything is working
just fine, I expect it to work fine on all unix systems too.  I am not
sure what will happen under Windows though as it doesn't support
symbolic links.  I've used CMake versioning support so it'll probably
do its best to provide a decent solution.

Since trying out versioning is quite a change, I'd appreciate
feedback, especially from Windows users.  If you can test out tonight,
then I can roll any required changes in before I make the 1.9.5 dev
release tomorrow.

Cheers,
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/




--
Serge Lages
http://www.magrathea-engine.org
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to