I've been trying to build the .NET wrappers today and ran into the same link 
problem for osgViewer wrapper on windows. 
I added OSGVIEWER_EXPORT to OpenGLQuerySupport and was able to successfully 
link and build the osgWrappers. 

Filip

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rafa Gaitan
Sent: 8. august 2007 12:44
To: osg users
Subject: [osg-users] osgterrain example broken.

Hi Robert,

I have just update the svn, and the example of osgterrain is broken, possibly 
by the change of TerrainNode to Terrain. The ReaderWritterTerrain.cpp needs to 
be upgraded too.

I also realized that the wrapper of osgViewer is not compiling on Mac the 
problem is for an undefined symbol that doesn't give problems on linux:

 89%] Building CXX object
src/osgWrappers/CMakeFiles/osgwrapper_osgViewer.dir/osgViewer/Renderer.o
/Users/rgaitan/Projects/OSG-SVN/OpenSceneGraph/include/osgViewer/Renderer:39:
warning: inline function 'void
osgViewer::OpenGLQuerySupport::endQuery()' used but never defined

..... and after on link phase...:

Linking CXX shared module ../../lib/osgPlugins-2.1.4/osgwrapper_osgViewer.so
/usr/bin/ld: Undefined symbols:
osgViewer::OpenGLQuerySupport::endQuery()
collect2: ld returned 1 exit status
make[2]: *** [lib/osgPlugins-2.1.4/osgwrapper_osgViewer.so] Error 1
make[1]: *** [src/osgWrappers/CMakeFiles/osgwrapper_osgViewer.dir/all] Error 2

Rafa.

--
Rafael Gaitán Linares
Instituto de Automática e Informática Industrial  http://www.ai2.upv.es 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
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to