Hi, I have a Linux box and I am trying to cross compile osg with mingw32, following instructions at http://www.vtk.org/Wiki/CmakeMingw .
I use this cmake command: cmake -DCMAKE_TOOLCHAIN_FILE=/home/marko/dev/Toolchain-minigw32.cmake - DCMAKE_INSTALL_PREFIX=/home/marko/dev/minigw-install . libOpenThreads.dll compiles fine but the build fails when linking libosg.dll ... [ 16%] Building CXX object src/osg/CMakeFiles/osg.dir/Viewport.obj Linking CXX shared library ../../bin/libosg.dll Creating library file: ../../lib/libosg.dll.a /usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/libstdc++.a(stubs.o):(.text+0x160): multiple definition of `_powf' CMakeFiles/osg.dir/Image.obj:Image.cpp:(.text$powf[_powf]+0x0): first defined here Native linux version builds just fine. Any suggestions apprecieated. Thanks, Marko _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

