I can build OSG with MinGW/MSys.
I get link errors when trying to compile an app against it though.
Any ideas?

C:\Apps\Test\win32\mingw>make
Linking CXX executable ..\bin\Test.exe
C:\Libs\OpenSceneGraph-3.3.0\win32\mingw\lib\libosgDB.a(Registry.obj
):Registry.cpp:(.text+0x186e): undefined reference to `osgGetVersion'
C:\Libs\OpenSceneGraph-3.3.0\win32\mingw\lib\libosgDB.a(Registry.obj
):Registry.cpp:(.text+0x7f32): undefined reference to `osg::KdTreeBuilder::KdTre
eBuilder()'
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: 
C:\Libs\OpenSceneGraph-3.3.0\win32\mingw\lib\libosgDB.a(Registry.obj): bad rel
oc address 0x1 in section `.text$_ZNK5osgDB7Options11libraryNameEv[__ZNK5osgDB7O
ptions11libraryNameEv]'
collect2.exe: error: ld returned 1 exit status
make[2]: *** [../bin/Test.exe] Error 1
make[1]: *** [CMakeFiles/Test.dir/all] Error 2
make: *** [all] Error 2

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=60419#60419





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to