Hi,
I had exactly the same issue than Jan Klimke when trying to compile the latest
osg with Xcode 5, 64-bit dylib build (not frameworks) with libc++ as standard
library.
Could anyone successfully build a recent osg with Xcode 5?
The problem is that the linker can't find the destructor of GUIEventHandler
when building the serializers:
Undefined symbols for architecture x86_64:
"osgGA::GUIEventHandler::~GUIEventHandler()", referenced from:
construction vtable for
osgGA::GUIEventHandler-in-osgGA::KeySwitchMatrixManipulator in
KeySwitchMatrixManipulator.cpp.o
....
I found following workarounds, but none of them is good:
1) Remove the file
"src/osgWrappers/serializers/osgGA/KeySwitchMatrixManipulator.cpp"
2) Define an empty virtual destructor in GUIEventHandler (eg. "virtual
~GUIEventHandler() {}).
Looks like a linker issue. KeySwitchMatrixManipulator is used at other places
sucessfully, it's just in the serializers that the issue shows up.
Any hints welcome.
Thanks
Jean-Claude
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org