Re: [osg-users] [osgPlugins] Can't get OSG to load an OpenFlight file.

2011-03-29 Thread Ed LaFave
Paul Martz wrote: I believe you have a version problem on your hand. Do you have multiple versions of OSG on your system? It is true that I've tried multiple versions of OSG. I began by building 2.8.3 from source myself. After getting these errors I decided to try 2.9.9 which was built by

Re: [osg-users] [osgPlugins] Can't get OSG to load an OpenFlight file.

2011-03-29 Thread Ed LaFave
robertosfield wrote: I believe few users have as many problems with getting models to load under unix as you have... I suspect you are trying to make things more complicated than they really should be, seemingly trying you best to break the OSG, rather than just let it gone with what it's

Re: [osg-users] [osgPlugins] Can't get OSG to load an OpenFlight file.

2011-03-29 Thread Paul Martz
You should be able to see in your Notify output, it's clear that OSG isn't including your OSG bin directory in its search path. If I recall from your OP, that path is something like: ThirdParty/Linux.x86_64.gcc4.4/OpenSceneGraph-2.8.3/bin If this directory is not in your PATH, then it's odd

Re: [osg-users] [osgPlugins] Can't get OSG to load an OpenFlight file.

2011-03-29 Thread Ed LaFave
robertosfield wrote: Now the OSG does have a proper install script and if you use it will place all the libraries and plugins in all the correct directories I still haven't solved this problem but I am perhaps a step closer so in the interest of keeping this thread up to date I'll fill you

Re: [osg-users] [osgPlugins] Can't get OSG to load an OpenFlight file.

2011-03-29 Thread Ed LaFave
Paul Martz wrote: You should be able to see in your Notify output, it's clear that OSG isn't including your OSG bin directory in its search path. If I recall from your OP, that path is something like: ThirdParty/Linux.x86_64.gcc4.4/OpenSceneGraph-2.8.3/bin If this directory is not in

Re: [osg-users] [osgPlugins] Can't get OSG to load an OpenFlight file.

2011-03-29 Thread Paul Martz
On 3/29/2011 1:58 PM, Ed LaFave wrote: Interestingly enough if use the following commands Code: export LD_LIBRARY_PATH=/work/MyProject/ThirdParty/Linux.x86_64.gcc/OpenSceneGraph-2.8.3/lib64/ ./osgviewer /some/path/MyOpenFlightFile.flt then I'm able to use OSG to successfully render

Re: [osg-users] [osgPlugins] Can't get OSG to load an OpenFlight file.

2011-03-29 Thread Robert Osfield
Hi Ed, You say you are getting a seg fault when the openflight plugin looks like it's loaded, for me this is progress, and if you are getting a seg fault then continue on this path. The next thing you should do is run your application in gdb or similar debugging tool and get a stack trace. Post

Re: [osg-users] [osgPlugins] Can't get OSG to load an OpenFlight file.

2011-03-29 Thread Ed LaFave
Paul Martz and robertosfield, thanks for your help. In addition to OSG my application has another third party dependency, for the sake of anonymity lets just call it PAIN_IN_THE_REAR. As the name implies PAIN_IN_THE_REAR is absolutely awful and has been a reliable source of head aches for

[osg-users] [osgPlugins] Can't get OSG to load an OpenFlight file.

2011-03-24 Thread Ed LaFave
Hi, Sorry if this is long winded but I wanted to make sure the description of my problem is as clear/thorough as possible. My project uses CMake and is intended to work in both Windows 7 32 bit and Ubuntu 10.04 64 bit. Right now the goal of the project is to simply render an OpenFlight file

Re: [osg-users] [osgPlugins] Can't get OSG to load an OpenFlight file.

2011-03-24 Thread Ed LaFave
Paul Martz wrote: If you export OSG_NOTIFY_LEVEL=DEBUG_FP, OSG will display the paths it is searching in its attempt to locate the OpenFlight plugin. -Paul Thanks for that trick, it is quite useful. Earlier in the day I was cursing the fact that I didn't know how to see what directories

Re: [osg-users] [osgPlugins] Can't get OSG to load an OpenFlight file.

2011-03-24 Thread Paul Martz
I believe you have a version problem on your hand. Do you have multiple versions of OSG on your system? The debug output indicates it's looking for the OSG v2.9.9 FLT plugin, but you said previously you're using 2.8.3, so it doesn't find it (no surprise). I imagine that when you add the path to