Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in
OpenWalnut Core
OpenWalnut Core
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 44
    • Issues 44
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • OpenWalnut
  • OpenWalnut CoreOpenWalnut Core
  • Issues
  • #47

Closed
Open
Opened Aug 01, 2014 by Sebastian Volke@volke
  • Report abuse
  • New issue
Report abuse New issue

-RM-376-MR-OW does not link with current OSG 3.2.1

Compiler: Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn) Target: x86_64-apple-darwin13.3.0 OSX: 10.9.4 macports: boost cmake mercurial qt4-mac OpenSceneGraph eigen3 nifticlib

[ 50%] Building CXX object core/CMakeFiles/openwalnut.dir/ui/WUIWidgetBase.cpp.o
Linking CXX shared library ../lib/libopenwalnut.dylib
Undefined symbols for architecture x86_64:
  "osg::ApplicationUsage::addKeyboardMouseBinding(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&)", referenced from:
      WGE2DManipulator::getUsage(osg::ApplicationUsage&) const in WGE2DManipulator.cpp.o
  "osg::Shader::setShaderSource(std::__1::basic_string, std::__1::allocator > const&)", referenced from:
      WGEShader::reloadShader() in WGEShader.cpp.o
  "osg::Uniform::setName(std::__1::basic_string, std::__1::allocator > const&)", referenced from:
      vtable for WGEPropertyUniform > > > in WHistogram2D.cpp.o
      vtable for WGEPropertyUniform > > in WHistogram2D.cpp.o
      vtable for WGEPropertyUniform > > in WHistogram2D.cpp.o
      vtable for WGEPropertyUniform > > in WHistogram2D.cpp.o
      vtable for WGEPropertyUniform > > > in WDataTexture3D.cpp.o
      vtable for WGEPropertyUniform > > in WDataTexture3D.cpp.o
      vtable for WGEPropertyUniform > > in WDataTexture3D.cpp.o
      ...
  "osg::StateSet::setRenderBinDetails(int, std::__1::basic_string, std::__1::allocator > const&, osg::StateSet::RenderBinMode)", referenced from:
      WGEOffscreenFinalPass::WGEOffscreenFinalPass(unsigned long, unsigned long, int) in WGEOffscreenFinalPass.cpp.o
      WGEOffscreenFinalPass::WGEOffscreenFinalPass(unsigned long, unsigned long, osg::ref_ptr, std::__1::basic_string, std::__1::allocator >, int) in WGEOffscreenFinalPass.cpp.o
      WGETextureHud::WGETextureHud() in WGETextureHud.cpp.o
      WGEBorderLayout::WGEBorderLayout() in WGEBorderLayout.cpp.o
  "osgDB::readImageFile(std::__1::basic_string, std::__1::allocator > const&, osgDB::Options const*)", referenced from:
      WGEImage::createFromFile(std::__1::basic_string, std::__1::allocator >) in WGEImage.cpp.o
      WGEViewerEffectImageOverlay::Updater::operator()(osg::Node*, osg::NodeVisitor*) in WGEViewerEffectImageOverlay.cpp.o
  "osgText::TextBase::setFont(std::__1::basic_string, std::__1::allocator > const&)", referenced from:
      osgText::Text::setFont(std::__1::basic_string, std::__1::allocator > const&) in WGELabel.cpp.o
  "osgText::TextBase::setText(std::__1::basic_string, std::__1::allocator > const&)", referenced from:
      WGEGridNode::callback(osg::Node*) in WGEGridNode.cpp.o
      wge::addLabel(osg::Vec3f, std::__1::basic_string, std::__1::allocator >) in WGEGeodeUtils.cpp.o
      wge::creatCoordinateSystem(osg::Vec3f, double, double, double) in WGEGeodeUtils.cpp.o
      WGETextureHud::WGETextureHudEntry::WGETextureHudEntry(osg::ref_ptr, std::__1::basic_string, std::__1::allocator >, bool) in WGETextureHud.cpp.o
  "osgViewer::View::computeIntersections(float, float, std::__1::multiset, std::__1::allocator >&, unsigned int)", referenced from:
      WPickHandler::pick(osgViewer::View*, osgGA::GUIEventAdapter const&) in WPickHandler.cpp.o
  "osgWidget::Box::Box(std::__1::basic_string, std::__1::allocator > const&, osgWidget::Box::BoxType, bool)", referenced from:
      osgWidget::Box::cloneType() const in WOSGButton.cpp.o
  "osgWidget::Box::Box(std::__1::basic_string, std::__1::allocator > const&, osgWidget::Box::BoxType, bool)", referenced from:
      WOSGButton::WOSGButton(std::__1::basic_string, std::__1::allocator >, osgWidget::Box::BoxType, bool, bool) in WOSGButton.cpp.o
  "osgWidget::Label::setLabel(std::__1::basic_string, std::__1::allocator > const&)", referenced from:
      WOSGButton::WOSGButton(std::__1::basic_string, std::__1::allocator >, osgWidget::Box::BoxType, bool, bool) in WOSGButton.cpp.o
      WOSGButton::setLabel(std::__1::basic_string, std::__1::allocator >) in WOSGButton.cpp.o
  "osgWidget::Label::Label(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&)", referenced from:
      osgWidget::Label::cloneType() const in WOSGButtonLabel.cpp.o
  "osgWidget::Label::Label(std::__1::basic_string, std::__1::allocator > const&, std::__1::basic_string, std::__1::allocator > const&)", referenced from:
      WOSGButtonLabel::WOSGButtonLabel(bool) in WOSGButtonLabel.cpp.o
  "non-virtual thunk to osg::Camera::inheritCullSettings(osg::CullSettings const&, unsigned int)", referenced from:
      vtable for WGEOffscreenFinalPass in WGEOffscreenFinalPass.cpp.o
      vtable for WGEOffscreenRenderPass in WGEOffscreenRenderPass.cpp.o
      vtable for WGEOffscreenTexturePass in WGEOffscreenTexturePass.cpp.o
      vtable for WGECamera in WGECamera.cpp.o
      vtable for WGEViewerEffect in WGEViewerEffect.cpp.o
      vtable for WObjectNDIP in WGEViewerEffect.cpp.o
      vtable for WGEViewerEffectHorizon in WGEViewerEffectHorizon.cpp.o
      ...
  "non-virtual thunk to osgViewer::GraphicsWindow::requestRedraw()", referenced from:
      vtable for osgViewer::GraphicsWindowEmbedded in WGEGraphicsWindow.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/libopenwalnut.1.4.0.dylib] Error 1
make[1]: *** [core/CMakeFiles/openwalnut.dir/all] Error 2
make: *** [all] Error 2
2#16:13:44#math@ipansen# ow/build/release >

Seems ABI has changed somewhere.

(from redmine: created on 2014-08-01, closed on 2015-03-14)

To upload designs, you'll need to enable LFS. More information
Assignee
Assign to
OpenWalnut 1.4
Milestone
OpenWalnut 1.4
Assign milestone
Time tracking
None
Due date
None
1
Labels
Bug
Assign labels
  • View project labels
Reference: openwalnut/openwalnut#47