I\'m trying to get PCL 1.7 (The point cloud library, not the other pcl) working on Ubuntu 16.04. I eventually hope to use for C++ stuff, but right now I\'m just trying to get th
This solved the issue for me:
sudo apt-get install libproj-dev
Source: https://github.com/PointCloudLibrary/pcl/issues/1828
This bug is still in 16.04, but there is a workaround.
sudo apt install libproj-dev
add the following line to your CMakeLists.txt file:
list(REMOVE_ITEM PCL_LIBRARIES "vtkproj4")
The first provides the necessary libproj.so
, and the second fixes errors when linking against a nonexistent (and unnecessary) libvtkproj4.
The other errors about referenced files not existing appear to be harmless (or at least my project compiles despite having the same errors).
for more information, see:
https://bugs.launchpad.net/ubuntu/+source/pcl/+bug/1573174
https://bugs.launchpad.net/ubuntu/+source/vtk6/+bug/1573234
There seems to be an issue with the installation with vtk6
described here : https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=819741
quick and dirty fix: make a symbolic link libproj.so in the requested directory:
sudo ln -s /usr/lib/x86_64-linux-gnu/libproj.so.<your-version> /usr/lib/x86_64-linux-gnu/libproj.so