hallo to all building osg and installing it to default --prefix location is no problem but now I moved all my osg 1.2 stuff to ~/local so that I can run my existing code
than I checked out all new sources from svn and wanted to install them to ~/local/osgsvn/ maybe I am a little bit naiv, I am complete new to cmake but after reading little bit documentatoin I hoped that this will work #!/bin/bash export CMAKE_INCLUDE_PATH=/home/harri/local/osgsvn/include export CMAKE_LIBRARY_PATH=/home/harri/local/osgsvn/lib export CMAKE_INSTALL_PREFIX=/home/harri/local/osgsvn/ BASEDIR=$(pwd) ; for DIR in OpenThreads Producer OpenSceneGraph osgProducer do cd $BASEDIR"/"$DIR make -f Makefile install done but CMAKE_INSTALL_PREFIX is ignored, I think the rest also, didn't try after make install of OpenThreads faild because OpenThreads wanted to install to /usr/local I tried a lot of other stuff (for hours now) controlling/passing --prefix CXXFLAGS and LDFLAGS to the build process without changing the same stuff in every part of osg (OpenThreads Producer OpenSceneGraph osgProducer) but I had no luck Also my trials with the GNUmakefile faild, because CXXFLAGS and LDFLAGS are ignored and calling make -e istn't the best choice/idea (so i think that this post istn't svn versoin realated only, but these problems are new to me because last installation was to defalut locations) Is there no way to control the build/install process without doing a lot of reduntant changes in the cmake - make/* files for each directory? lg harri _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
