I put the plugins in: /Library/Frameworks/PlugIns or in ~/Library/Frameworks/PlugIns The frameworks are in the same place as you have them.
Works fine for me, without setting LD_LIBRARY_PATH (I've been using the app.bundles from the Xcode projects)
Tested on a MacBook Pro.
ps. on the intel mac there's a bug in the ati driver that creates crashes when rendering font files loaded from the disk.
-------------------------- On 22-Sep-06, at 12:28 PM, Steven R Woolsey wrote: I am working on a program using osg and have it compiling under Windows, Linux, and OS X. It works great under windows. I just started working on the OS X version. I get the program compiled with osg, but when I run the program, it cannot find any of the plugins and exits. I need to load an obj file, a 3ds file, and a number of textures. It always tells me it cannot find the plugin. I have tried the framework version of the binaries of osg available on the site, as well as compiling the osg from scratch using gcc. With the framework version I placed the Frameworks in "/Library/Frameworks" and PlugIns in "/Library/Application Support/OpenSceneGraph/PlugIns". This failed to find the plugins the same way as when I compiled myself. I am also unable to get the osg example programs to find any plugins. I am using osg 1.2, and this would be from a terminal window. I have set my LD_LIBRARY_PATH to "/usr/local/lib:/usr/local/lib/osgPlugins". My path is set to "/usr/local/share/OpenSceneGraph/bin". I have tried this on both a G5 and an Intel based Powerbook with the same results. I must be missing something. I am not that familiar with OS X, so forgive my ignorance if this is an easy fix. Any suggestions would be greatly appreciated. Thanks, Steve Woolsey <mime-attachment.jpeg> <mime-attachment.jpeg> _______________________________________________ osg-users mailing list
|
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/