[OpenWalnut-Dev] How to integrate the PCL library to a module toolbox?

Sebastian Eichelbaum eichelbaum at informatik.uni-leipzig.de
Tue May 27 13:03:45 CEST 2014


Hi.

Christof is right. The code he posted shows that the NA-online project uses CMake's FIND_PACKAGE function. This should work well in most cases, but usually requires you to install the lib system-wide. If you do not want this, you can use FIND_PATH instead. You can see an example in the OpenWalnut code under tools/cmake/Findniftilib.cmake. This allows you to embed "foreign" code into your source paths.

Cheers,
Sebastian

On Tue, 27 May 2014, Christof Pieloth wrote:

> Hello Andreas,
> 
> the NA-Online toolbox is using PCL at some spots. Have a look at
> CMakeLists.txt and WAlignment.cpp:
> https://bitbucket.org/labp/na-online_ow-toolbox/src/5748425b2a4a9db09e91d8a998e5333608ad00ff/src/modules/alignment
> 
> Furthermore, I figure out some problems with their PPA for debian. You
> may have to compile and install it from from source. We do have a python
> script to do this, but it installs selective modules for NA-Online only:
> https://bitbucket.org/labp/na-online_ow-toolbox/src/5748425b2a4a9db09e91d8a998e5333608ad00ff/tools/installation/install_pcl.py
> 
> Atm I do not have time to look in your example, but the code snippets
> may help you.
> 
> Greez,
> Christof
> 
> Am Dienstag, den 27.05.2014, 00:17 +0200 schrieb Andreas Schwarzkopf:
> > Hello,
> > 
> > I'm about to try out how the Point Cloud Library works for my purposes. 
> > This is the most simple example that is built using CMakeLists.txt: 
> > http://pointclouds.org/documentation/tutorials/writing_pcd.php#writing-pcd
> > I'm interested in binding it to my LiDAR Toolbox in order to verify how 
> > well the library fits to my purposes.
> > Can somebody figure out how to bind it?
> > 
> > 
> > PCL is installed on Linux that way: 
> > http://pointclouds.org/downloads/linux.html
> > 
> > If you use e. g. Debian Tasting, like me, you maybe should install as 
> > following because the common way didn't work for me:
> > http://pointclouds.org/downloads/source.html
> > I installed some dependencies using that: sudo apt-get install -y cmake 
> > libboost-all-dev libEigen3-dev libflann-dev libopenni-dev libpcap-dev 
> > libqhull-dev libvtk6-dev
> > 
> > The attachment is only the prepared example and the install script using 
> > the source code from GIT
> > 
> > Regards,
> > Andreas
> 
> -- 
> Christof Pieloth, M.Sc.
> Wissenschaftlicher Mitarbeiter
> 
> HTWK Leipzig, University of Applied Sciences
> Laboratory for Biosignal Processing (LaBP)
> Eilenburger Str. 13
> 04317 Leipzig
> 
> tel:  +49 (0) 341 3076 3133
> fax:  +49 (0) 341 3076 853133
> email: pieloth 'at' labp.htwk-leipzig.de
> web: www.labp.htwk-leipzig.de
> _______________________________________________
> OpenWalnut-Dev mailing list
> OpenWalnut-Dev at lists.informatik.uni-leipzig.de
> http://lists.informatik.uni-leipzig.de/mailman/listinfo/openwalnut-dev
> 
> Archive: http://lists.informatik.uni-leipzig.de/pipermail/openwalnut-dev/
> 

-- 
Dipl.-Inf. Sebastian Eichelbaum
Universität Leipzig
Institut für Informatik
Abteilung Bild- und Signalverarbeitung
PF 100920
D-04009 Leipzig


More information about the OpenWalnut-Dev mailing list