Re: [osg-users] [build] Linking Errors with OSG-3.3.0 and MSYS

2014-07-28 Thread Paul
I just tried OSG versions 3.3.2 and the Trunk version..  
I get the same error for all versions.


 Linking CXX executable Test.exe
 C:\osg-master\win32\mingw\lib\libosgDB.a(Registry.obj):Registry
 .cpp:(.text+0x186e): undefined reference to `osgGetVersion'
 C:\osg-master\win32\mingw\lib\libosgDB.a(Registry.obj):Registry
 .cpp:(.text+0x8462): undefined reference to 
 `osg::KdTreeBuilder::KdTreeBuilder()
 '
 c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: 
 C:\osg-master\win32\mingw\lib\libosgDB.a(Registry.obj): bad reloc address
  0x1 in section 
 `.text$_ZNK5osgDB7Options11libraryNameEv[__ZNK5osgDB7Options11li
 braryNameEv]'
 collect2.exe: error: ld returned 1 exit status
 make.exe[2]: *** [DKTest.exe] Error 1
 make.exe[1]: *** [CMakeFiles/DKTest.dir/all] Error 2


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





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


[osg-users] [build] Linking Errors with OSG-3.3.0 and MSYS

2014-07-23 Thread Paul
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\mingwmake
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


Re: [osg-users] [build] Linking Errors with OSG-3.3.0 and MSYS

2014-07-23 Thread Alexpux

24 июля 2014 г., в 0:19, Paul aquawic...@hotmail.com написал(а):

 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\mingwmake
 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
 
 
Paul, try MSYS2:
http://msys2.github.io
https://sourceforge.net/p/msys2/wiki/MSYS2%20installation/

It based on recent cygwin sources and have package manager ported from Arch 
Linux.
We use mingw-w64 toolchains as it is more completeness then mingw.org 
toolchains.
We have large repository with mingw-w64 packages including OpenSceneGraph.

Regards,
Alexey.
 
 
 
 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

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


Re: [osg-users] [build] Linking Errors with OSG-3.3.0 and MSYS

2014-07-23 Thread Robert Osfield
Hi Paul,
Could you please try svn/trunk or OSG-3.3.2 rather than 3.3.0 as there a
range of build fixes in them.
Robert
On 23 Jul 2014 21:17, Paul aquawic...@hotmail.com wrote:

 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\mingwmake
 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

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