OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

Conan C++ dependency manager

Goto page Previous  1, 2
 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
mp3butcher (Julien Valentin)
Appreciator


Joined: 17 Feb 2010
Posts: 488
Location: France

PostPosted: Sun Feb 04, 2018 9:05 pm    Post subject:
Reply with quote

I found it quite funny
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

Or write your own in GoLang Smile

Cheers,
Remo
Back to top
View user's profile Send private message Visit poster's website
Chris Hanson
Guest





PostPosted: Mon Feb 05, 2018 5:21 am    Post subject:
Conan C++ dependency manager
Reply with quote

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 < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
https://www.youtube.com/watch?v=nLdB1ErncBg


mp3butcher wrote:
Quote:
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:
Quote:
Hi All,

Why they use python? Python itself has complicated dependencies. Someone has wrote a CMake based system:

https://github.com/ruslo/hunter

Or write your own in GoLang Smile

Cheers,
Remo



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





_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org






--
Chris 'Xenon' Hanson, omo sanza lettere. 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 facebook.com/alphapixel (775) 623-PIXL [7495]

------------------
Post generated by Mail2Forum
Back to top
mp3butcher (Julien Valentin)
Appreciator


Joined: 17 Feb 2010
Posts: 488
Location: France

PostPosted: Mon Feb 05, 2018 3:06 pm    Post subject:
Re: Conan C++ dependency manager
Reply with quote

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 < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
https://www.youtube.com/watch?v=nLdB1ErncBg


mp3butcher wrote:
Quote:
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:
Quote:
Hi All,

Why they use python? Python itself has complicated dependencies. Someone has wrote a CMake based system:

https://github.com/ruslo/hunter

Or write your own in GoLang Smile

Cheers,
Remo



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





_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org






--
Chris 'Xenon' Hanson, omo sanza lettere. 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 facebook.com/alphapixel (775) 623-PIXL [7495]

------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message Visit poster's website
cfjob
Newbie


Joined: 22 Dec 2016
Posts: 3

PostPosted: Thu Jun 28, 2018 8:58 am    Post subject:
Re: Conan C++ dependency manager
Reply with quote

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 < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
https://www.youtube.com/watch?v=nLdB1ErncBg


mp3butcher wrote:
Quote:
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:
Quote:
Hi All,

Why they use python? Python itself has complicated dependencies. Someone has wrote a CMake based system:

https://github.com/ruslo/hunter

Or write your own in GoLang Smile

Cheers,
Remo



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





_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org






--
Chris 'Xenon' Hanson, omo sanza lettere. 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 facebook.com/alphapixel (775) 623-PIXL [7495]

------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
mp3butcher (Julien Valentin)
Appreciator


Joined: 17 Feb 2010
Posts: 488
Location: France

PostPosted: Thu Jun 28, 2018 3:17 pm    Post subject:
Re: Conan C++ dependency manager
Reply with quote

Hi,

My scripts are not perfect
-I forgot to add the plugin path to PATH in the script
-It doesn't buid static libs
-and surely other other stuff...

You can contribute and make a PR...

it would be something like it in OpenSceneGraph/3.4.2/conanfile.py
@packageinfo func:
Code:

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 < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
https://www.youtube.com/watch?v=nLdB1ErncBg


mp3butcher wrote:
Quote:
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:
Quote:
Hi All,

Why they use python? Python itself has complicated dependencies. Someone has wrote a CMake based system:

https://github.com/ruslo/hunter

Or write your own in GoLang Smile

Cheers,
Remo



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





_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org






--
Chris 'Xenon' Hanson, omo sanza lettere. 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 facebook.com/alphapixel (775) 623-PIXL [7495]

------------------
Post generated by Mail2Forum

_________________
Twirling twirling twirling toward freedom
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts set proper size to window manager at ... gambr General 9 Fri Apr 15, 2016 7:42 am View latest post
No new posts simple window manager to reopen a window xribe General 4 Fri Dec 30, 2011 9:48 am View latest post
No new posts Error: 0xc0150002 Win7 x64, VS2010, o... ParticlePeter Build system [build] 3 Sat Feb 12, 2011 11:28 pm View latest post
No new posts Issues with OSG Freetype Dependency U... carlodelmundo Build system [build] 4 Mon May 31, 2010 4:13 pm View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP