Posted by: sirivy | October 11, 2012

Just a note for PCL installation on Ubuntu 12.04

Required libraries:

  • Boost >= 1.46
  • Eigen >= 3.0
  • FLANN >=1.7.1
  • vtk >= 5.6

FLANN installation
You can install FLANN using synaptic package manager or install it manually. I install it using a synaptic package manager. The package name is libflann-dev.

VTK Installation
You can install VTK using synaptic package manager or install it manually. I install it using a synaptic package manager. The package name is libvtk-dev.

QHull installation
libqhull-dev

QT vtk installation
libvtk5-qt4-dev

USB 1.0 installation
libusb-1.0-0-dev

PCL Installation
To install PCL, I download a source files from http://pointclouds.org/downloads/. You can follow the following steps:

  1. Extract a tarball file.You will get a folder PCL-1.6.0-Source.
  2. I create a folder named “release” inside PCL-1.6.0-Source directory to store the compiled library files.
  3. Go to “release” folder and run a command
    • cmake-gui ..
  4. On a CMake-gui window, you have to click “configure” and then, if everything is OK, click “generate”.
  5. Compile source code by using
    • make
  6. Install library by using
    • sudo make install

I tried to compile PCL-1.6.0 but there are some problems with linked libraries. However, the PCL-1.6rc1 checked out from http://svn.pointclouds.org/pcl/tags/pcl-1.6.0rc1/ can be compiled successfully.

Enjoy PCL.🙂


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: