Hi,

When I try to link my executables using osg-2.9.9 or osg-2.9.10 I get messages
like:

libiris.so: undefined reference to `non-virtual thunk to 
osgViewer::Viewer::setSceneData(osg::Node*)'

I'm using CentOS and gcc 4.1.2.

I googled a bit and found this problem mentioned when using one optimization
level for a building a library and a different optimization level when
compiling programs that link with the library.

The executable, and the programs comprising libiris.so, are compiled with
whatever's the default optimization.  I built osg-2.9.9 and osg-2.9.10 just
before building libiris.so, so I'm using the same compiler, system libraries
and so forth.  I don't get this error on a freshly rebuilt osg-2.8.3.

I also didn't specify any optimization level when building OSG.

osgviewer builds and runs.

Any ideas about how to start tracking this problem down?

More gory details on request.

Many thanks,

John




_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to