PickNikRobotics / deep_grasp_demo

Deep learning for grasp detection within MoveIt.
https://picknik.ai/
107 stars 52 forks source link

cmake error regarding PCL on finding Eigen #6

Closed rishabh900 closed 3 years ago

rishabh900 commented 3 years ago

I am working on ubuntu 18.04 with ros-melodic and I followed all the installation steps but I am facing the Cmake error of PCL unable to find Eigen on trying to compile gpd from source.

CMake Warning at /home/curse/MOVEIT_DEEP-GRASPS/pcl-pcl-1.11.0/build/PCLConfig.cmake:149 (find_package): By not providing "FindEigen.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Eigen", but CMake did not find one.

Could not find a package configuration file provided by "Eigen" (requested version 3.1) with any of the following names:

EigenConfig.cmake
eigen-config.cmake

Add the installation prefix of "Eigen" to CMAKE_PREFIX_PATH or set "Eigen_DIR" to a directory containing one of the above files. If "Eigen" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): /home/curse/MOVEIT_DEEP-GRASPS/pcl-pcl-1.11.0/build/PCLConfig.cmake:313 (find_eigen) /home/curse/MOVEIT_DEEP-GRASPS/pcl-pcl-1.11.0/build/PCLConfig.cmake:546 (find_external_library) CMakeLists.txt:11 (find_package)

CMake Error at /home/curse/MOVEIT_DEEP-GRASPS/pcl-pcl-1.11.0/build/PCLConfig.cmake:59 (message): common is required but eigen was not found