Hello, I am trying to compile OSG with i386-pc-mingw32/4.4.0 on Windows XP and linking libosg.dll I get a "multiple definition of 'powf'" error.
Because I am also a beginner with C++ etc., I am not sure how to go about fixing this. I would be grateful if someone could point me in the right direction please. Have I omitted to set an environment variable appropriately, or...? ------------------------------------------------------------------ Linking CXX shared library ..\..\bin\libosg.dll Creating library file: ..\..\lib\libosg.dll.a c:/mingw/bin/../lib/gcc/i386-pc-mingw32/4.4.0/../../../libstdc++.a(stubs.o): In function `powf': /home/gfortran/gcc-home/workshop/gcc/objdir/i386-pc-mingw32/libstdc++-v3/libmath /../../../../gcc-4.4-20081226-mingw/libstdc++-v3/libmath/stubs.c:377: multiple definition of `powf' CMakeFiles\osg.dir\Image.obj:Image.cpp:(.text$powf[_powf]+0x0): first defined here collect2: ld returned 1 exit status make[2]: *** [bin/libosg.dll] Error 1 make[1]: *** [src/osg/CMakeFiles/osg.dir/all] Error 2 make: *** [all] Error 2 ------------------------------------------------------------------ ( I realise using MSVC would be easier, and have successfully compiled OSG that way, but so much is automated I don't learn stuff as quickly.) Thanks for any help. :-) John Montgomery, Glassel, Scotland. The University of Aberdeen is a charity registered in Scotland, No SC013683. _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org