Hi Paul,

El Miércoles 21 Enero 2009ES 16:08:41 Paul Melis escribió:
>  It seems that so far OSG hasn't really
> supported installing different versions side-by-side (i.e. headers not
> put in a directory like include/osg-2.6/...). And even though a
> pkgconfig script is distributed these days it doesn't know anything
> about versions.

I'd prefer not to tag the header files because then you'd have to modify your 
source code when using different versions (osg-2.6, osg-2.7, osgDB-2.6, 
osgDB-2.7, and so on...) I think it's preferable to install *development* 
libraries on different locations. Then you can easily select which one do you 
want to use modifying less paramenters.

For example, my system has version 2.4.0, but I usually compile also the SVN 
version in my home directory. When I want to link against the SVN version, I 
point PKG_CONFIG_PATH to my SVN installation directory, so the compilation 
goes against the new version without altering the code neither the build 
system.

Howewer once the software is built, of course all versions can coexist on the 
same directory, at least on Linux :)

Regards,

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

Reply via email to