Hi Gino, If you are trying to do your own plugin/application using osg frameworks in macosx, you need to set up some environmental variables:
DYLD_LIBRARY_PATH=/path/to/osg/plugins (for example) DYLD_FRAMEWORK_PATH=/path/to/osg/frameworks. The in-built rpath in macosx is prepared for bundle applications, so if you don't configure correctly the frameworks path, then applications will not find it. Cheers, Rafa. 2010/5/25 Gino <[email protected]>: > Yes... I'm trying to build my own plugin... . Sorry for being not so clear... > . > :) > > Il giorno 25.mag.2010, alle ore 10:10, Robert Osfield ha scritto: > >> Hi Gino, >> >> In your email you suggest you are trying to build an OSG plugin but >> there isn't a OSGVplugin, so are you talking about trying to build >> your own plugin for the OSG? >> >> Robert. >> >> On Tue, May 25, 2010 at 8:51 AM, Gino <[email protected]> wrote: >>> I'm trying to build an OSG plugin on mac osx (10.6). >>> The compilation of the plugin ends with success, but when I launch it I >>> notice that nothing happens, and through the use of NSLog and console I see >>> that my plugin doesn't even start, and I get the following error message: >>> >>> 24.05.10 21:58:58 WebKitPluginHost[857] Error loading >>> /Users/doppiabeo/Library/Internet >>> Plug-Ins/OSGVPlugin.bundle/Contents/MacOS/OSGVPlugin: >>> dlopen(/Users/doppiabeo/Library/Internet >>> Plug-Ins/OSGVPlugin.bundle/Contents/MacOS/OSGVPlugin, 262): Library not >>> loaded: @executable_path/../Frameworks/osgGA.framework/Versions/A/osgGA >>> Referenced from: /Users/doppiabeo/Library/Internet >>> Plug-Ins/OSGVPlugin.bundle/Contents/MacOS/OSGVPlugin >>> Reason: image not found >>> 24.05.10 21:58:58 com.apple.WebKit.PluginAgent[856] 2010-05-24 >>> 21:58:58.623 WebKitPluginHost[857:903] Error loading >>> /Users/doppiabeo/Library/Internet >>> Plug-Ins/OSGVPlugin.bundle/Contents/MacOS/OSGVPlugin: >>> dlopen(/Users/doppiabeo/Library/Internet >>> Plug-Ins/OSGVPlugin.bundle/Contents/MacOS/OSGVPlugin, 262): Library not >>> loaded: @executable_path/../Frameworks/osgGA.framework/Versions/A/osgGA >>> 24.05.10 21:58:58 com.apple.WebKit.PluginAgent[856] >>> Referenced from: /Users/doppiabeo/Library/Internet >>> Plug-Ins/OSGVPlugin.bundle/Contents/MacOS/OSGVPlugin >>> 24.05.10 21:58:58 com.apple.WebKit.PluginAgent[856] Reason: >>> image not found >>> >>> Any clue? >>> Thanks in advance >>> _______________________________________________ >>> osg-users mailing list >>> [email protected] >>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >>> >> _______________________________________________ >> osg-users mailing list >> [email protected] >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- Rafael Gaitán Linares Instituto de Automática e Informática Industrial http://www.ai2.upv.es http://gvsig3d.blogspot.com Ciudad Politécnica de la Innovación Universidad Politécnica de Valencia _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

