jmirabel Newbie
Joined: 04 Jan 2016 Posts: 5
|
Posted: Sat Jan 16, 2016 4:42 pm Post subject: Compiling a plugin only |
|
|
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 |
|
robertosfield OSG Project Lead
Joined: 18 Mar 2009 Posts: 11622
|
Posted: Mon Jan 18, 2016 10:03 am Post subject: Compiling a plugin only |
|
|
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 |
|
jmirabel Newbie
Joined: 04 Jan 2016 Posts: 5
|
Posted: Thu Jan 28, 2016 9:56 am Post subject: |
|
|
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. |
|