I'm sorry for being so late in repleing.
I think I solved the problem, correcting the xcode project properties. I think 
that before I didn't notice my fault in the project settings, maybe due to the 
dynamic typing-linking of objective c, that didn't check for the existence of 
the framework at compile-building time (or something like that).
So, now, as I posted before, I get a lot of new and funny syntax errors. ;)
Anyway thanks for the repleys.
:)
G.

Il giorno 25.mag.2010, alle ore 14:59, Stephan Maximilian Huber ha scritto:

> 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

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

Reply via email to