Hmmm... I can't seem to find any .ccache directory or file...
I *thought* I recompiled and reinstalled everything in OSG and my software, but I'll do so one more time. Any other ideas out there? Thanks, John On Mon, 13 Dec 2010, Tim Moore wrote:
I saw a similar error when upgrading from Fedora 13 to Fedora 14, which uses a different version of gcc. In my case the solution was to remove the contents of my .ccache directory. More generally, I think this problem comes from mixing object files produced by different g++ versions. Tim On Mon, Dec 13, 2010 at 10:36 PM, John Kelso <[email protected]<mailto:[email protected]>> wrote: 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]<mailto:[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

