Hi Scott, I'd suggest set a different installation prefix using the CMAKE_INSTALL_PREFIX macro when you are trying to compile another OSG version. Then you could make a script to change the OSG_DIR variable on the fly so that other projects depended on OSG could find the right include and linking directory. You have to also specify the correct location of the dynamic link libraries while running these applications.
PS: Thanks for the support of my book. :-) Cheers, Wang Rui 2011/3/29 Scott Wasinger <swasin...@comcast.net>: > Hi, > > Right now I have the latest stable version installed 2.8.3 on my Linux > Machine (Yum installed). I want to start using the developer version 2.9.11 > so I can become familiar with it for when Open Scene Graph 3.0 is released. > > Plug: I have been reading the Open Scene Graph 3.0 Beginner's Guide by Rui > Wang & Xuelei Qian and want to state that it is a very excellent book. > > Can I have both version of the libraries installed and when I building my > application (via cmake) select which library I want and how to link to it > correctly. > > Thank you! > > Cheers, > Scott > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=37957#37957 > > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org