Hi Martin, As far as I know is more a gcc + cmake "problem" that OSG problem itself. What I do when I want build with cmake and 32 bits in my 64 bits box is:
$ cd osg-svn $ mkdir build $ cd build $ export CFLAGS=-m32 $ export CXXFLAGS=-m32 $ cmake .. -D.... (whatever you need here) If you already have an out-of-source build (or in-source) you need to delete CMakeCache.txt and redo cmake. CMake automatically will check exported CFLAGS and CXXFLAGS. The problem once you have 32bits building is to have all OSG dependencies you need in 32 bits.. this could be a little bit pain. Hope this helps. Rafa. 2011/5/6 Alberto Luaces <[email protected]>: > "Martin Haffner" writes: > >> Hi, >> >> Unfortunately there is no file flags.make in my OpenSceneGraph folder:/ > > Not in the OSG source folder, but in your build folder. Anyway, just > compile with the VERBOSE environment variable to see how it is going. > > -- > Alberto > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- Rafael Gaitán Linares Instituto de Automática e Informática Industrial http://www.ai2.upv.es http://gvsig3d.blogspot.com Ciudad Politécnica de la Innovación Universidad Politécnica de Valencia _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

