deep_grasp_demo icon indicating copy to clipboard operation
deep_grasp_demo copied to clipboard

Error with installing PCL/ OpenCV

Open robwoidi opened this issue 3 years ago • 2 comments

Hey i tried to Follow your installation guide but when i try to install PCL with the command "sudo ./pcl_install.sh" i get the error "cc1plus: error: bad value (‘tigerlake’) for ‘-mtune=’ switch"

I use Ubuntu 20.04.3 LTS and ROS noetic and followed the instruction to install it outside the workspace. Unfortunately I have no idea how to solve it. So i hope some one of you can help me.

Eddit:

I managed to install the package in the ws_grasp workspace like in the tutorial. By installing the newest PCL and OpenCV Versions. And I adopted the CMakeLists.txt by removing the fixed Version in the find_package() lines of PCL and OpenCV. But now i run in some catkin build errors. (see the picture) Bildschirmfoto vom 2021-09-14 15-48-45

I have absolute no idea why the moveit_task_constructor_msgs/SampleGraspPosesAction.h file cant be found. Occur the error with the opencv2/core/core.hpp because I use a newer version of OpenCV? But the recommended Version is 3.4 or higher.

I need a Grasp pipeline with a grasp detection stage for my Master-thesis that's why i want to use MoveIt Deep grasp and the task constructor. I hope some one of you can help me.

robwoidi avatar Sep 09 '21 14:09 robwoidi

I could solve the error for the dexnet task constructor with the issue #8. But the error with the gpd constructor remains!

robwoidi avatar Sep 16 '21 13:09 robwoidi

@robwoidi try adding these lines to the CMakeLists.txt:

  • Add find_package(OpenCV REQUIRED)

  • Add ${OpenCV_INCLUDE_DIRS} to include_directories()

  • Add ${OpenCV_LIBS} to target_link_libraries()

jschultz299 avatar Feb 16 '22 18:02 jschultz299