Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with installing PCL/ OpenCV #12

Open
robwoidi opened this issue Sep 9, 2021 · 2 comments
Open

Error with installing PCL/ OpenCV #12

robwoidi opened this issue Sep 9, 2021 · 2 comments

Comments

@robwoidi
Copy link

robwoidi commented Sep 9, 2021

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
Copy link
Author

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

@jschultz299
Copy link

@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()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants