Progress on a CMake SuperBuild

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Progress on a CMake SuperBuild

Bill Lorensen
Folks,

I have made good progress on a SuperBuild for PCL that uses CMake's
External Project mechanism.

My superbuild downloads, configures and builds: boost, FLANN, Eigen,
Qhull, GTest and VTK.

I only needed to modify one file: CMakeLists.txt. I do need to add a
SuperBuild subdirectory to defined and use the external projects.

I have only tried it on Ubuntu and expect additional work will be
needed for Windows and MacOS. I have a Mac so I might try it on that
system.

Bill

--
Unpaid intern in BillsBasement at noware dot com
_______________________________________________
PCL-developers mailing list
[hidden email]
http://pointclouds.org/mailman/listinfo/pcl-developers
http://pointclouds.org
Reply | Threaded
Open this post in threaded view
|

Re: Progress on a CMake SuperBuild

Radu B. Rusu
Administrator
Fantastic work Bill! Should we document this in a RST file and have it under pointclouds.org/documentation/advanced, or
should we use the dev.pointclouds.org wiki?

Cheers,
Radu.
--
http://pointclouds.org

On 03/17/2012 01:27 PM, Bill Lorensen wrote:

> Folks,
>
> I have made good progress on a SuperBuild for PCL that uses CMake's
> External Project mechanism.
>
> My superbuild downloads, configures and builds: boost, FLANN, Eigen,
> Qhull, GTest and VTK.
>
> I only needed to modify one file: CMakeLists.txt. I do need to add a
> SuperBuild subdirectory to defined and use the external projects.
>
> I have only tried it on Ubuntu and expect additional work will be
> needed for Windows and MacOS. I have a Mac so I might try it on that
> system.
>
> Bill
>
_______________________________________________
PCL-developers mailing list
[hidden email]
http://pointclouds.org/mailman/listinfo/pcl-developers
http://pointclouds.org
Reply | Threaded
Open this post in threaded view
|

Re: Progress on a CMake SuperBuild

Mourad
In reply to this post by Bill Lorensen

Hi Bill,


On Sat, Mar 17, 2012 at 9:27 PM, Bill Lorensen <[hidden email]> wrote:
Folks,

I have made good progress on a SuperBuild for PCL that uses CMake's
External Project mechanism.

My superbuild downloads, configures and builds: boost, FLANN, Eigen,
Qhull, GTest and VTK.

I only needed to modify one file: CMakeLists.txt. I do need to add a
SuperBuild subdirectory to defined and use the external projects.

I have only tried it on Ubuntu and expect additional work will be
needed for Windows and MacOS. I have a Mac so I might try it on that
system.

Bill



We already have a Superbuild script to build PCL and its dependencies here  http://dev.pointclouds.org/projects/pcl/wiki/Windows_Installers 
The same script allows also to build the Windows installers we're providing on the downloads page. The script was tested only on Windows, with Visual Studio.
In this script PCL is also built using ExternalProject command, which doesn't seem like how you did, right?

Cheers,
Mourad


_______________________________________________
PCL-developers mailing list
[hidden email]
http://pointclouds.org/mailman/listinfo/pcl-developers
http://pointclouds.org
Reply | Threaded
Open this post in threaded view
|

Re: Progress on a CMake SuperBuild

Bill Lorensen
I am using ExternalProject_Add. I'll take a look at what you have done.

Thanks,

Bill

On Sat, Mar 17, 2012 at 1:42 PM, Mourad Boufarguine
<[hidden email]> wrote:

> Hi Bill,
>
>
> On Sat, Mar 17, 2012 at 9:27 PM, Bill Lorensen <[hidden email]>
> wrote:
>>
>> Folks,
>>
>> I have made good progress on a SuperBuild for PCL that uses CMake's
>> External Project mechanism.
>>
>> My superbuild downloads, configures and builds: boost, FLANN, Eigen,
>> Qhull, GTest and VTK.
>>
>> I only needed to modify one file: CMakeLists.txt. I do need to add a
>> SuperBuild subdirectory to defined and use the external projects.
>>
>> I have only tried it on Ubuntu and expect additional work will be
>> needed for Windows and MacOS. I have a Mac so I might try it on that
>> system.
>>
>> Bill
>>
>
>
> We already have a Superbuild script to build PCL and its dependencies here
> http://dev.pointclouds.org/projects/pcl/wiki/Windows_Installers
> The same script allows also to build the Windows installers we're providing
> on the downloads page. The script was tested only on Windows, with Visual
> Studio.
> In this script PCL is also built using ExternalProject command, which
> doesn't seem like how you did, right?
>
> Cheers,
> Mourad
>
>
> _______________________________________________
> PCL-developers mailing list
> [hidden email]
> http://pointclouds.org/mailman/listinfo/pcl-developers
> http://pointclouds.org



--
Unpaid intern in BillsBasement at noware dot com
_______________________________________________
PCL-developers mailing list
[hidden email]
http://pointclouds.org/mailman/listinfo/pcl-developers
http://pointclouds.org
Reply | Threaded
Open this post in threaded view
|

Re: Progress on a CMake SuperBuild

Bill Lorensen
And ExternalProject for PCL.

On Sat, Mar 17, 2012 at 2:05 PM, Bill Lorensen <[hidden email]> wrote:

> I am using ExternalProject_Add. I'll take a look at what you have done.
>
> Thanks,
>
> Bill
>
> On Sat, Mar 17, 2012 at 1:42 PM, Mourad Boufarguine
> <[hidden email]> wrote:
>> Hi Bill,
>>
>>
>> On Sat, Mar 17, 2012 at 9:27 PM, Bill Lorensen <[hidden email]>
>> wrote:
>>>
>>> Folks,
>>>
>>> I have made good progress on a SuperBuild for PCL that uses CMake's
>>> External Project mechanism.
>>>
>>> My superbuild downloads, configures and builds: boost, FLANN, Eigen,
>>> Qhull, GTest and VTK.
>>>
>>> I only needed to modify one file: CMakeLists.txt. I do need to add a
>>> SuperBuild subdirectory to defined and use the external projects.
>>>
>>> I have only tried it on Ubuntu and expect additional work will be
>>> needed for Windows and MacOS. I have a Mac so I might try it on that
>>> system.
>>>
>>> Bill
>>>
>>
>>
>> We already have a Superbuild script to build PCL and its dependencies here
>> http://dev.pointclouds.org/projects/pcl/wiki/Windows_Installers
>> The same script allows also to build the Windows installers we're providing
>> on the downloads page. The script was tested only on Windows, with Visual
>> Studio.
>> In this script PCL is also built using ExternalProject command, which
>> doesn't seem like how you did, right?
>>
>> Cheers,
>> Mourad
>>
>>
>> _______________________________________________
>> PCL-developers mailing list
>> [hidden email]
>> http://pointclouds.org/mailman/listinfo/pcl-developers
>> http://pointclouds.org
>
>
>
> --
> Unpaid intern in BillsBasement at noware dot com



--
Unpaid intern in BillsBasement at noware dot com
_______________________________________________
PCL-developers mailing list
[hidden email]
http://pointclouds.org/mailman/listinfo/pcl-developers
http://pointclouds.org
Reply | Threaded
Open this post in threaded view
|

Re: Progress on a CMake SuperBuild

Geoffrey Biggs
In reply to this post by Bill Lorensen
Bill,

On Mar 18, 2012, at 5:27 AM, Bill Lorensen wrote:

> Folks,
>
> I have made good progress on a SuperBuild for PCL that uses CMake's
> External Project mechanism.
>
> My superbuild downloads, configures and builds: boost, FLANN, Eigen,
> Qhull, GTest and VTK.
>
> I only needed to modify one file: CMakeLists.txt. I do need to add a
> SuperBuild subdirectory to defined and use the external projects.
>
> I have only tried it on Ubuntu and expect additional work will be
> needed for Windows and MacOS. I have a Mac so I might try it on that
> system.

That's great news. I'm looking forward to seeing how you have used the external project stuff!

Geoff
_______________________________________________
PCL-developers mailing list
[hidden email]
http://pointclouds.org/mailman/listinfo/pcl-developers
http://pointclouds.org
Reply | Threaded
Open this post in threaded view
|

Re: Progress on a CMake SuperBuild

Pat Marion
Hi Bill and Mourad,

Are you guys still developing your superbuild scripts?  With the recent emails describing the difficulties some are having with compiling pcl and dependencies from source, I wonder if these superbuild scripts should be revisited?  I also wrote a superbuild script, in order to compile pcl and dependencies on Android and iOS.  My scripts are slightly specialized, because they invoke crosscompiler toolchains.  They are available here: https://github.com/patmarion/pcl-superbuild


Pat

On Sat, Mar 17, 2012 at 7:29 PM, Geoffrey Biggs <[hidden email]> wrote:
Bill,

On Mar 18, 2012, at 5:27 AM, Bill Lorensen wrote:

> Folks,
>
> I have made good progress on a SuperBuild for PCL that uses CMake's
> External Project mechanism.
>
> My superbuild downloads, configures and builds: boost, FLANN, Eigen,
> Qhull, GTest and VTK.
>
> I only needed to modify one file: CMakeLists.txt. I do need to add a
> SuperBuild subdirectory to defined and use the external projects.
>
> I have only tried it on Ubuntu and expect additional work will be
> needed for Windows and MacOS. I have a Mac so I might try it on that
> system.

That's great news. I'm looking forward to seeing how you have used the external project stuff!

Geoff
_______________________________________________
PCL-developers mailing list
[hidden email]
http://pointclouds.org/mailman/listinfo/pcl-developers
http://pointclouds.org


_______________________________________________
PCL-developers mailing list
[hidden email]
http://pointclouds.org/mailman/listinfo/pcl-developers
http://pointclouds.org
Reply | Threaded
Open this post in threaded view
|

Re: Progress on a CMake SuperBuild

Bill Lorensen
Yes, I still have and use my superbuild script. If others are
interested I can pout is somewhere. I have only tested it on Linux.
Mine builds:
Boost
Eigen3
FLANN
GTest
QHull
VTK

I keep in pcl-trunk/SuperBuild and also requires a minor change to
pcl-trunk/CMakeLists.txt


On Fri, Jun 8, 2012 at 5:51 PM, Pat Marion <[hidden email]> wrote:

> Hi Bill and Mourad,
>
> Are you guys still developing your superbuild scripts?  With the recent
> emails describing the difficulties some are having with compiling pcl and
> dependencies from source, I wonder if these superbuild scripts should be
> revisited?  I also wrote a superbuild script, in order to compile pcl and
> dependencies on Android and iOS.  My scripts are slightly specialized,
> because they invoke crosscompiler toolchains.  They are available here:
> https://github.com/patmarion/pcl-superbuild
>
>
> Pat
>
>
> On Sat, Mar 17, 2012 at 7:29 PM, Geoffrey Biggs <[hidden email]>
> wrote:
>>
>> Bill,
>>
>> On Mar 18, 2012, at 5:27 AM, Bill Lorensen wrote:
>>
>> > Folks,
>> >
>> > I have made good progress on a SuperBuild for PCL that uses CMake's
>> > External Project mechanism.
>> >
>> > My superbuild downloads, configures and builds: boost, FLANN, Eigen,
>> > Qhull, GTest and VTK.
>> >
>> > I only needed to modify one file: CMakeLists.txt. I do need to add a
>> > SuperBuild subdirectory to defined and use the external projects.
>> >
>> > I have only tried it on Ubuntu and expect additional work will be
>> > needed for Windows and MacOS. I have a Mac so I might try it on that
>> > system.
>>
>> That's great news. I'm looking forward to seeing how you have used the
>> external project stuff!
>>
>> Geoff
>> _______________________________________________
>> PCL-developers mailing list
>> [hidden email]
>> http://pointclouds.org/mailman/listinfo/pcl-developers
>> http://pointclouds.org
>
>
>
> _______________________________________________
> PCL-developers mailing list
> [hidden email]
> http://pointclouds.org/mailman/listinfo/pcl-developers
> http://pointclouds.org



--
Unpaid intern in BillsBasement at noware dot com
_______________________________________________
PCL-developers mailing list
[hidden email]
http://pointclouds.org/mailman/listinfo/pcl-developers
http://pointclouds.org
Reply | Threaded
Open this post in threaded view
|

Re: Progress on a CMake SuperBuild

Radu B. Rusu-3
Administrator
Bill,

If it simplifies one's life to get and build dependencies for systems like Mac OS X, I'd be happy to give it a try. Thanks!

Cheers,
Radu.

On 06/08/2012 04:56 PM, Bill Lorensen wrote:

> Yes, I still have and use my superbuild script. If others are
> interested I can pout is somewhere. I have only tested it on Linux.
> Mine builds:
> Boost
> Eigen3
> FLANN
> GTest
> QHull
> VTK
>
> I keep in pcl-trunk/SuperBuild and also requires a minor change to
> pcl-trunk/CMakeLists.txt
>
>
> On Fri, Jun 8, 2012 at 5:51 PM, Pat Marion<[hidden email]>  wrote:
>> Hi Bill and Mourad,
>>
>> Are you guys still developing your superbuild scripts?  With the recent
>> emails describing the difficulties some are having with compiling pcl and
>> dependencies from source, I wonder if these superbuild scripts should be
>> revisited?  I also wrote a superbuild script, in order to compile pcl and
>> dependencies on Android and iOS.  My scripts are slightly specialized,
>> because they invoke crosscompiler toolchains.  They are available here:
>> https://github.com/patmarion/pcl-superbuild
>>
>>
>> Pat
>>
>>
>> On Sat, Mar 17, 2012 at 7:29 PM, Geoffrey Biggs<[hidden email]>
>> wrote:
>>>
>>> Bill,
>>>
>>> On Mar 18, 2012, at 5:27 AM, Bill Lorensen wrote:
>>>
>>>> Folks,
>>>>
>>>> I have made good progress on a SuperBuild for PCL that uses CMake's
>>>> External Project mechanism.
>>>>
>>>> My superbuild downloads, configures and builds: boost, FLANN, Eigen,
>>>> Qhull, GTest and VTK.
>>>>
>>>> I only needed to modify one file: CMakeLists.txt. I do need to add a
>>>> SuperBuild subdirectory to defined and use the external projects.
>>>>
>>>> I have only tried it on Ubuntu and expect additional work will be
>>>> needed for Windows and MacOS. I have a Mac so I might try it on that
>>>> system.
>>>
>>> That's great news. I'm looking forward to seeing how you have used the
>>> external project stuff!
>>>
>>> Geoff
>>> _______________________________________________
>>> PCL-developers mailing list
>>> [hidden email]
>>> http://pointclouds.org/mailman/listinfo/pcl-developers
>>> http://pointclouds.org
>>
>>
>>
>> _______________________________________________
>> PCL-developers mailing list
>> [hidden email]
>> http://pointclouds.org/mailman/listinfo/pcl-developers
>> http://pointclouds.org
>
>
>
_______________________________________________
PCL-developers mailing list
[hidden email]
http://pointclouds.org/mailman/listinfo/pcl-developers
http://pointclouds.org
Reply | Threaded
Open this post in threaded view
|

Re: Progress on a CMake SuperBuild

Bill Lorensen
Radu,

I have it running on ubuntu. I'll give it a shot on my Mac before
sending you a patch.

Bill

On Mon, Jun 11, 2012 at 11:46 AM, Radu B. Rusu <[hidden email]> wrote:

> Bill,
>
> If it simplifies one's life to get and build dependencies for systems like
> Mac OS X, I'd be happy to give it a try. Thanks!
>
> Cheers,
> Radu.
>
>
> On 06/08/2012 04:56 PM, Bill Lorensen wrote:
>>
>> Yes, I still have and use my superbuild script. If others are
>> interested I can pout is somewhere. I have only tested it on Linux.
>> Mine builds:
>> Boost
>> Eigen3
>> FLANN
>> GTest
>> QHull
>> VTK
>>
>> I keep in pcl-trunk/SuperBuild and also requires a minor change to
>> pcl-trunk/CMakeLists.txt
>>
>>
>> On Fri, Jun 8, 2012 at 5:51 PM, Pat Marion<[hidden email]>  wrote:
>>>
>>> Hi Bill and Mourad,
>>>
>>> Are you guys still developing your superbuild scripts?  With the recent
>>> emails describing the difficulties some are having with compiling pcl and
>>> dependencies from source, I wonder if these superbuild scripts should be
>>> revisited?  I also wrote a superbuild script, in order to compile pcl and
>>> dependencies on Android and iOS.  My scripts are slightly specialized,
>>> because they invoke crosscompiler toolchains.  They are available here:
>>> https://github.com/patmarion/pcl-superbuild
>>>
>>>
>>> Pat
>>>
>>>
>>> On Sat, Mar 17, 2012 at 7:29 PM, Geoffrey
>>> Biggs<[hidden email]>
>>> wrote:
>>>>
>>>>
>>>> Bill,
>>>>
>>>> On Mar 18, 2012, at 5:27 AM, Bill Lorensen wrote:
>>>>
>>>>> Folks,
>>>>>
>>>>> I have made good progress on a SuperBuild for PCL that uses CMake's
>>>>> External Project mechanism.
>>>>>
>>>>> My superbuild downloads, configures and builds: boost, FLANN, Eigen,
>>>>> Qhull, GTest and VTK.
>>>>>
>>>>> I only needed to modify one file: CMakeLists.txt. I do need to add a
>>>>> SuperBuild subdirectory to defined and use the external projects.
>>>>>
>>>>> I have only tried it on Ubuntu and expect additional work will be
>>>>> needed for Windows and MacOS. I have a Mac so I might try it on that
>>>>> system.
>>>>
>>>>
>>>> That's great news. I'm looking forward to seeing how you have used the
>>>> external project stuff!
>>>>
>>>> Geoff
>>>> _______________________________________________
>>>> PCL-developers mailing list
>>>> [hidden email]
>>>> http://pointclouds.org/mailman/listinfo/pcl-developers
>>>> http://pointclouds.org
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> PCL-developers mailing list
>>> [hidden email]
>>> http://pointclouds.org/mailman/listinfo/pcl-developers
>>> http://pointclouds.org
>>
>>
>>
>>
> _______________________________________________
> PCL-developers mailing list
> [hidden email]
> http://pointclouds.org/mailman/listinfo/pcl-developers
> http://pointclouds.org



--
Unpaid intern in BillsBasement at noware dot com
_______________________________________________
PCL-developers mailing list
[hidden email]
http://pointclouds.org/mailman/listinfo/pcl-developers
http://pointclouds.org