Hi Bob,

oh, fyi, i never do installs, so that technique is out for me. installing means putting stuff in a system-ish spot, and i like to have have a clean development machine. another reason i don't install is so i can build/test against multiple versions of osg. all i do is switch where the my build cmake stuff looks to find osg headers and osg binaries, and i'm off.

When running ccmake, you have a setting called CMAKE_INSTALL_PREFIX. Just change that to install anywhere. I generally set it to some subdirectory of my home directory, as I don't like to install OSG to a system-wide location either, i.e.

CMAKE_INSTALL_PREFIX = /home/guayj/local_apps/OpenSceneGraph

So in your case, even if you want to build/test against multiple versions of OSG, just set CMAKE_INSTALL_PREFIX to different values and you're off. :-) That way you can also not duplicate the build directory if you don't need to.

Then you could use 'make install'. Sure, it probably shouldn't be made a requirement, and some people are against 'make install' even if they don't have any reason to be, but there you are.

Hope this helps,

J-S
--
______________________________________________________
Jean-Sebastien Guay    [EMAIL PROTECTED]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to