Thank you very much :)
Regards
G.
Il giorno 09.ago.2011, alle ore 11:56, Stephan Maximilian Huber ha scritto:

> Hi,
> 
> Am 08.08.11 18:22, schrieb Guido Lucci Baldassari:
>> Does anyone know how I can obtain the path of @loader_path at runtime
>> (a better solution than getenv(PWD))? Thanks in advance
> 
> you can try one of the NSBundle-methods:
> 
>       NSBundle* bundle = [NSBundle bundleForClass: [self class]];
>       std::string plugin_path( [ [bundle builtInPlugInsPath] cString]);
> 
> This will give you the path to the PlugIns-folder inside your bundle.
> 
> 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