Hi,

If you're creating mach-O applications, try putting the file inside the application package wrapper...

MyApplication.app/PlugIns/*.so

There are provisions in osgDB::Registry.cpp or somewhere to pick them up in this location.


Alan Purvis





On 9 May 2006, at 09:37, Robert Osfield wrote:

Hi Mike,

I don't use OSX regularily so can only guess....  Running from the
command line you probably have OSG_FILE_PATH or LD_LIBRARY_PATH (or
equivilant) env var available to help guide the OSG to finiding the
plugins when running from the console.  Perhaps this arn't set up for
you alternative route of running the app (from XCode for Desktop??).

To track this issue down run the OSG app with the notification level
set to debug, via:

 setenv OSG_NOTIFY_LEVEL DEBUG
 myapp

Or programatically via:

 osg::setNotifyLevel(osg::DEBUG_INFO);

Robert.


On 5/9/06, Mike Jackson <[EMAIL PROTECTED]> wrote:
Eric.
    I am trying to write an App that uses some of the osgPlugins
(osgIVE specifically) but am running into some trouble. My program
can not seem to find the plugin. I have placed it in "/Library/
Application Support/OpenSceneGraph/PlugIns" and a lot of other places
and the program still can not find the plugin. Is there something
special that needs to be done to the build settings?

  I actually wrote a command line app that gets built into "/Users/
mjackson/XcodeBuild/Debug". So I created the following Directory: "/
Users/mjackson/XcodeBuild/PlugIns" and put all the OSG Plugins in
there. It really should work. It does with the VTK libs that I use.

BTW. Running osgviewer from the command line works fine. It will load
my .ive file and display it. I am looking at the Xcode project for
that app to try and see what the difference is between that one and
mine.

    I am on a MacBook Pro with 10.4.6 and the latest Xcode. I built
OSG from scratch using your Xcode projects.

Thanks for any help.
--------
Mike Jackson
imikejackson <at> gmail <dot> com



_______________________________________________
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/


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

Reply via email to