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 your PATH, then it's odd that *any* OSG > executables > even run, such as osgversion. You should add it, of course, as you would add > any > package's binary directory to your PATH. (This is *nix 101, and not specific > to > OSG.)
You are correct OSG's bin directory is not on my PATH but that was by intention (perhaps incorrectly so). On the Windows side I make sure my application knows where the OSG bin is because thats where the OSG dll files are. However, on the Linux side I believe the OSG bin directory only contains executables and therefore I didn't think my application would care about the bin. Just to be sure though I added the OSG bin to my PATH and my application still crashes with a segmentation fault just as it did in my last post. 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 MyOpenFlight file. Yet I get a segmentation fault when my application links to the OSG libraries and tries to programmatically load that same OpenFlight file. ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=38036#38036 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

