[MacPorts] #45287: OpenSceneGraph build against libstdc++ (should be libc++)
#45287: OpenSceneGraph build against libstdc++ (should be libc++) -----------------------+-------------------------------- Reporter: hartmut@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: | Port: openscenegraph -----------------------+-------------------------------- Seems OpenSceneGraph is being built with gcc or for some other reason linked against libstdc++ otool against libosg.dylib reveals: Load command 13 cmd LC_LOAD_DYLIB cmdsize 56 name /usr/lib/libstdc++.6.dylib (offset 24) Hence, mixing with other libraries (such as OpenCV) is not possible. This is on Mavericks without any modifications (fresh MacPorts install). -- Ticket URL: <https://trac.macports.org/ticket/45287> MacPorts <http://www.macports.org/> Ports system for OS X
#45287: OpenSceneGraph build against libstdc++ (should be libc++) -----------------------------+-------------------------------- Reporter: hartmut@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: OpenSceneGraph | -----------------------------+-------------------------------- Changes (by ryandesign@…): * port: openscenegraph => OpenSceneGraph Old description:
Seems OpenSceneGraph is being built with gcc or for some other reason linked against libstdc++
otool against libosg.dylib reveals:
Load command 13 cmd LC_LOAD_DYLIB cmdsize 56 name /usr/lib/libstdc++.6.dylib (offset 24)
Hence, mixing with other libraries (such as OpenCV) is not possible. This is on Mavericks without any modifications (fresh MacPorts install).
New description: Seems OpenSceneGraph is being built with gcc or for some other reason linked against libstdc++ otool against libosg.dylib reveals: {{{ Load command 13 cmd LC_LOAD_DYLIB cmdsize 56 name /usr/lib/libstdc++.6.dylib (offset 24) }}} Hence, mixing with other libraries (such as OpenCV) is not possible. This is on Mavericks without any modifications (fresh MacPorts install). -- -- Ticket URL: <https://trac.macports.org/ticket/45287#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#45287: OpenSceneGraph build against libstdc++ (should be libc++) -----------------------------+-------------------------------- Reporter: hartmut@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: OpenSceneGraph | -----------------------------+-------------------------------- Comment (by ryandesign@…): I do see the line in CMakeLists.txt that says: {{{ set(CMAKE_XCODE_ATTRIBUTE_CLANG_CXX_LIBRARY "libstdc++") }}} So I can see why that would be the case. Nevertheless, when building on 10.10, it gets built with libc++. I'm not sure how. -- Ticket URL: <https://trac.macports.org/ticket/45287#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#45287: OpenSceneGraph build against libstdc++ (should be libc++) -----------------------------+-------------------------------- Reporter: hartmut@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: OpenSceneGraph | -----------------------------+-------------------------------- Comment (by hartmut@…): Oh, I see. I would guess its worthwhile to report this upstream? Thoughts? -- Ticket URL: <https://trac.macports.org/ticket/45287#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts