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 

Compiling a plugin only


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> Plugins [osgPlugins]
View previous topic :: View next topic  
Author Message
jmirabel
Newbie


Joined: 04 Jan 2016
Posts: 4

PostPosted: Sat Jan 16, 2016 4:42 pm    Post subject:
Compiling a plugin only
Reply with quote

Dear OSG developpers,

I'm using OSG with the DAE plugin in a project. Currently, I'm compiling OSG from the source. Everything works great, as expected. The only inconvenient is the compilation time.

I have thought of modifying the CMakeLists so that it only compiles the DAE plugin. For all other part, I would use the OSG version from the repositories. It means I have to do that for several version of OSG, and I have to maintain it myself.
Is there any easier way to get a similar result ?

Thank you!

Cheers,
Joseph
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 11190

PostPosted: Mon Jan 18, 2016 10:03 am    Post subject:
Compiling a plugin only
Reply with quote

Hi Joseph,

If you are using unix then you can run the build in parallel, for
instance on my iCore7 system I do a build with:

make -j 8

I also tend to just build release. For testing purposes I also build
the examples but if you just need to libs and plugins then there is no
need to build the applications and examples, the examples are off by
default.

I haven't timed the build recently but even a clean build doesn't take
that long. How long is it taking for you?

Robert.





On 16 January 2016 at 16:42, Joseph Mirabel <> wrote:
Quote:
Dear OSG developpers,

I'm using OSG with the DAE plugin in a project. Currently, I'm compiling OSG from the source. Everything works great, as expected. The only inconvenient is the compilation time.

I have thought of modifying the CMakeLists so that it only compiles the DAE plugin. For all other part, I would use the OSG version from the repositories. It means I have to do that for several version of OSG, and I have to maintain it myself.
Is there any easier way to get a similar result ?

Thank you!

Cheers,
Joseph

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








------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
jmirabel
Newbie


Joined: 04 Jan 2016
Posts: 4

PostPosted: Thu Jan 28, 2016 9:56 am    Post subject:
Reply with quote

Hi,

Thank you for your answer. I usually compile it using a similar command and it does not take that long. But it is not the only package we have to compile. I haven't timed it neither but, using 4 threads, it's about 15/30 minutes.

When we give a practical course using our software, we are aiming at having a software installed quickly. In case we use binary packages, we would rather use OSG from Ubuntu official repository.

Cheers,
Joseph

PS2: sorry for the late reply. I was thinking I would get a notification by email.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> Plugins [osgPlugins] All times are GMT
Page 1 of 1

 
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 Multiple video textures using ffmpeg ... mmaurus Plugins [osgPlugins] 6 Thu Oct 05, 2017 10:02 am View latest post
No new posts Problem compiling OSG 3.4.1 osgDB 64 bit tonyor Build system [build] 0 Thu Sep 21, 2017 12:41 am View latest post
No new posts obj plugin does not support diffuse a... Ralf Habacker General 5 Tue Sep 19, 2017 6:21 am View latest post
No new posts LIDAR plugin Michael W. Hall General 11 Fri Sep 01, 2017 1:49 am View latest post
No new posts PLY Plugin robertosfield Submission 0 Tue Aug 15, 2017 2:45 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