I got the executable PCL 1.8 from HERE and installed it. But when tried to run an example demo, it complaints: How to fix it?

CMake Error at /usr/share/pcl-1.8/PCLConfig.cmake:45 (message):
  PCL can not be found on this machine
Call Stack (most recent call first):
  /usr/share/pcl-1.8/PCLConfig.cmake:774 (pcl_report_not_found)
  CMakeLists.txt:4 (find_package)

-- Configuring incomplete, errors occurred!

I had the exact same error after installing from the same source. I finally tracked down the error to a wrong entry in the PCLConfig.cmake file. The PCL_ROOT variable there is beeing set to /usr/local, while the files were actually installed into /usr. Changing this variable resolved the problem for me.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.