[osg-users] Conan C++ dependency manager

Julien Valentin julienvalentin51 at gmail.com
Thu Jun 28 08:17:53 PDT 2018


Hi,

I forgot to add the plugin path to PATH in the script
You can contribute to add something like this and make a PR...

it would be something like it
osgPlongins="release dependant plugin path"
self.env_info.PATH.append(os.path.join(self.package_folder, osgPlongins))

Cheers


cfjob wrote:
> Hi,
> I encounter a problem that the osgDB::readImageFile can not read the image files.
> I know that the osgDB need related plugins to read files, and I uploaded the osgPlugins folder with other osg libs. It seems conan didn't let osg find the plugins, did anyone encounter similar problem? How to deal with it?
> 
> 
> mp3butcher wrote:
> > You can test current recipes and improve them...
> > https://github.com/mp3butcher/osg_conan_recipe
> > 
> > Edit:
> > Here's a blog from a guy that have more experience with conan than me
> > https://www.micheleadduci.net/blog/2017/02/05/Fourteen-days-with-conan/
> > It points some CMake limitations I haven't experienced with Ubuntu and win32 package...
> > 
> > 
> > Chris Hanson wrote:
> > > I've been hoping for Conan support for OSG for some time.
> > > 
> > > Python is a complex tool, but powerful, and I'm willing to accept its complexity in return for what it can do.
> > > 
> > > 
> > > On Sun, Feb 4, 2018 at 2:05 PM, Julien Valentin < ()> wrote:
> > > 
> > > > https://www.youtube.com/watch?v=nLdB1ErncBg (https://www.youtube.com/watch?v=nLdB1ErncBg)
> > > > 
> > > > 
> > > > mp3butcher wrote:
> > > > 
> > > > > Thanks for the link
> > > > > I didn't know this tool, i should test it
> > > > > 
> > > > > In conan, there's tools to download, to unzip, to invoke system package manager, virtual runtime environment (manage env vars)
> > > > > python makes conan sexy and flexible.
> > > > > Further it manages dependancies (will dl what missing -sourcesORbuilt- for the recipe you wanna build package for)
> > > > > I know they're trying to do business with package hosting, but who can blame them
> > > > > 
> > > > > I don't know if all these features are included in hunter...
> > > > > If you have knowledge about hunter, can you provide us a simple example apply to osg win32 package?
> > > > > 
> > > > > Cheers
> > > > > 
> > > > > 
> > > > > remoe wrote:
> > > > > 
> > > > > > Hi All,
> > > > > > 
> > > > > > Why they use python? Python itself has complicated dependencies. Someone has wrote a CMake based system:
> > > > > > 
> > > > > > https://github.com/ruslo/hunter (https://github.com/ruslo/hunter)
> > > > > > 
> > > > > > Or write your own in GoLang :)
> > > > > > 
> > > > > > Cheers,
> > > > > > Remo
> > > > > > 
> > > > > 
> > > > > 
> > > > 
> > > > 
> > > > ------------------
> > > > Read this topic online here:
> > > > http://forum.openscenegraph.org/viewtopic.php?p=72923#72923 (http://forum.openscenegraph.org/viewtopic.php?p=72923#72923)
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > _______________________________________________
> > > > osg-users mailing list
> > > >  ()
> > > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org (http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org)
> > > > 
> > > > 
> > > > 
> > > 
> > > 
> > > 
> > > 
> > > -- 
> > > Chris 'Xenon' Hanson, omo sanza lettere.  http://www.alphapixel.com/ (http://www.alphapixel.com/)
> > > Training • Consulting • Contracting
> > > 3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
> > > Legal/IP • Forensics • Imaging • UAVs • GIS • GPS • osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • Mobile • iPhone/iPad/iOS • Android
> > > @alphapixel (https://twitter.com/alphapixel) facebook.com/alphapixel (http://facebook.com/alphapixel) (775) 623-PIXL [7495]
> > > 
> > >  ------------------
> > > Post generated by Mail2Forum
> > 
> 


------------------------
Twirling twirling twirling toward freedom

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=74215#74215







More information about the osg-users mailing list