Opened 12 years ago

Closed 11 years ago

#36413 closed defect (worksforme)

OpenSceneGraph fails to run

Reported by: hartmut@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: dbevans (David B. Evans)
Port: OpenSceneGraph

Description

Using the 3.0.1 port (binary) in 2.1.2 there are a few issues that might be originating from a misconfigured build system. Firstly, the viewer doesn't come up:

Viewer::realize() - No valid contexts found, setting up view across all screens.
GraphicsContext::getWindowingSystemInterface() 0	0x101acbaa8
View::setUpViewAcrossAllScreens() : Error, no WindowSystemInterface available, cannot create windows.

Secondly, if any image file is being loaded it seems osgdb_qt.so is searched for as the loader interface which should be actually ImageIO instead or osgdb_imageio.so

dlopen(osgPlugins-3.0.1/osgdb_qt.so, 9): image not found
DynamicLibrary::failed loading "osgPlugins-3.0.1/osgdb_qt.so"
Warning: Could not find plugin to read objects from file "/Users/hartmut/Projects/tacitpixel/share/models/huedde2_3ds/wand1.jpg".

Change History (6)

comment:1 Changed 12 years ago by hartmut@…

Cc: hartmut@… added

Cc Me!

comment:2 Changed 12 years ago by mf2k (Frank Schima)

Cc: hartmut@… removed
Keywords: OpenSceneGraph removed

comment:3 Changed 12 years ago by huangpeng723@…

Please cc me too!

comment:4 in reply to:  3 Changed 12 years ago by larryv (Lawrence Velázquez)

Replying to huangpeng723@…:

Please cc me too!

You can CC yourself by clicking the button next to the “Cc” field :)

comment:5 Changed 11 years ago by dbevans (David B. Evans)

Cc: devans@… added

OpenSceneGraph, while still at version 3.0.1, has been patched to eliminate opportunitistic linking that can obscure the actual configuration of the software. I wonder if you could update to the latest version (OSG 3.0.1 rev 3, OSG-devel 3.1.7) and see if the problem still persists.

If so, it would help if you could elaborate on exactly how you are using the software, including any programs you are using that show the failure. A simple example would go a long way toward figuring out the problem.

Thanks.

comment:6 Changed 11 years ago by dbevans (David B. Evans)

Resolution: worksforme
Status: newclosed

OpenSceneGraph, OpenSceneGraph-devel update to version 3.2.0 in r111840. No response to previous query assuming problem solved. If not please file a new ticket against the updated port version.

Note: See TracTickets for help on using tickets.