atenpas / gpd

Detect 6-DOF grasp poses in point clouds
BSD 2-Clause "Simplified" License
606 stars 233 forks source link

catkin_make failed when I compiling GPD #38

Open ruanjian0821 opened 6 years ago

ruanjian0821 commented 6 years ago

Hi, Andreas ten Pas. When I catkin_make my workspace, there only built 10%. And it couldn't find the directory ‘’caffe/caffe.hpp‘’. I have read another questioner‘s experience and try it. However, it seems useless. And could you kindly tell me how to solve it ? Thanks.

2018-06-23 17-49-53

ruanjian0821 commented 6 years ago

I solved it. In order to help people who meet the same problems like me and to solve as soon as possible, I wrote down my own solutions truthfully: 1st. you should direct download the code not by ''git clone'' anymore. 2nd. cd to your workspace catkin_make And then, if there exit some .h file couldn't find by itself, check where the specific location is. By this way you could solve the problem what you have meet.

2018-06-23 22-28-50

ruanjian0821 commented 6 years ago

Try this : cd source devel/setup.bash

When you meet problem like follow: 2018-06-25 10-44-03

atenpas commented 6 years ago

@ruanjian0821 I'm happy that you solved your original problem. However, your solution is somewhat unclear to me. What difference did it make for you to download the code directly instead of cloning it? Both should give you the same files. What exactly do you mean when you say downloading the code?

iskanderuse commented 5 years ago

It is not original problem. Where can I gets caffe.hpp if package declares "Branch without Caffe dependency"?

If these errors occur, you need to clear the directories build and devel from the logs of gpd and compile the gpd-forward branch again

nis-ur commented 5 years ago

Hi @atenpas , what @iskanderuse is saying is correct. Using the 'git clone' link seems to provide the wrong directory ('gpd') whereas downloading the zipped version gives you 'gpd-forward'. Any idea why this might be the case?

Once gpd-forward was downloaded i ran into 1 issue similar to the one mentioned in this thread, shown in screenshot below:

Screenshot from 2019-08-09 22-54-26

This was fixed by correcting an included filepath in /home/nick/catkin_ws3/src/gpd-forward/src/nodes/grasp_detection_node.cpp from ../../../gpd/include/nodes/grasp_detection_node.h to ../../../gpd-forward/include/nodes/grasp_detection_node.h