Somehow setting OSG_OPEN_FLIGHT_PLUGIN to old
got me a bunch more debug info when I ran it. 
It is looking for osgdb_OpenFlight.so and I thought I had the plugin built when I found osgdb_flt.so but I don't have osgdb_OpenFlight.so

Is it possible that building OSG via xcode didn't build:
osgdb_OpenFlight.so ?



On 9/21/06, Paul Martz < [EMAIL PROTECTED]> wrote:
Hi Wily --
 
OSG v1.1 flipped the switch from the old flt plugin to the new flt plugin. So, if the project file was inadvertently not updated, and doesn't build the new flt plugin, then OSG won't be able to load flt files.
 
Make sure that osgdb_OpenFlight (.dll/.so/etc) is part of your project file / makefile, and make sure it actually was built and is in a location that's in your library/binary search path.
 
Or, set OSG_OPEN_FLIGHT_PLUGIN to "old" and see if that works. (This is not a long-term solution, but is the fastest way to get you up and running, assuming the old plugin actually got built.)
   -Paul
 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Willy P
Sent: Thursday, September 21, 2006 4:11 PM
To: osg users
Subject: Re: [osg-users] problem with 1.2 and openflight models on mac

I'm in the same situation except I'm on osg 1.1.

OS-X 10.4.7 (PPC w/ sec updt)

I've got:
osg::setNotifyLevel(osg::DEBUG_INFO);

and the only thing it prints is:

Warning: Could not find plugin to read objects from file "t72-tank_des.flt".
Error: OpenGL version test failed, requires valid graphics context.

I can load .osg models just fine.  osgtext.app works fine etc etc...

Any thoughts?
-Willy

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to