Hi,

Am 25.05.10 09:51, schrieb Gino:
> 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

you'll have to rewrite the paths to the frameworks/plugins for all used
plugins and frameworks via install_name_tool, use @loader_path.

@executable_path will point the the safari.app not to your plugin-bundle.

Try googling for @loader_path and install_name_tool for more info

cheers,
Stephan
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to