Quantcast

PCL 1.8 make fails at 'Linking CXX shared library ../lib/libpcl_sample_consensus.so'

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

PCL 1.8 make fails at 'Linking CXX shared library ../lib/libpcl_sample_consensus.so'

macourtney7
I'm trying to install PCL 1.8 but I cannot get make to complete.

I'm installing using the following method on a clean version of ubuntu
16.04:

### install cmake ###
apt -y install cmake

### install and hold Eigen ###
apt -y install pkg-config
apt -y -f install
wget http://launchpadlibrarian.net/209530212/libeigen3-dev_3.2.5-4_all.deb
dpkg -i libeigen3-dev_3.2.5-4_all.deb
apt-mark hold libeigen3-dev

### install FLANN ###
apt -y install libflann-dev libflann1.8

### install boost ###
apt -y install libboost1.58-all-dev

### install VTK ###
apt -y install libxt-dev
apt -y install freeglut3-dev
wget http://www.vtk.org/files/release/7.1/VTK-7.1.0.tar.gz
tar -xf VTK-7.1.0.tar.gz
mkdir build && cd build
cmake ..
make
make install

### install pcl ###
wget https://github.com/PointCloudLibrary/pcl/archive/pcl-1.8.0.tar.gz
tar -xf pcl-1.8.0.tar.gz
cd pcl-1.8.0.tar.gz
mkdir build && cd build
cmake ..
make
make install

The pcl make command will produce the following error output:

[ 17%] Linking CXX shared library ../lib/libpcl_sample_consensus.so
collect2: error: ld returned 1 exit status
sample_consensus/CMakeFiles/pcl_sample_consensus.dir/build.make:451:
recipe for target 'lib/libpcl_sample_consensus.so.1.8.0' failed
make[2]: *** [lib/libpcl_sample_consensus.so.1.8.0] Error 1
CMakeFiles/Makefile2:902: recipe for target
'sample_consensus/CMakeFiles/pcl_sample_consensus.dir/all' failed
make[1]: *** [sample_consensus/CMakeFiles/pcl_sample_consensus.dir/all]
Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2

How can I get this resolved?

Thanks,
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users

Any and all help is much appreciated!
Loading...