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

Header not found #8

Closed
c-rizz opened this issue Jun 22, 2020 · 2 comments
Closed

Header not found #8

c-rizz opened this issue Jun 22, 2020 · 2 comments

Comments

@c-rizz
Copy link
Collaborator

c-rizz commented Jun 22, 2020

Hi @DrawZeroPoint
I'm having an issue building on master with catkin_make:

[ 97%] Building CXX object example/CMakeFiles/example_node.dir/src/walker_arm_kin.cpp.o
/home/april/carlo/CURI-Walker/ubt_sim_ws/src/walker_brain/src/grasp_cup_node.cpp:8:10: fatal error: hope/ExtractObjectOnTop.h: No such file or directory
 #include <hope/ExtractObjectOnTop.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
walker_brain/CMakeFiles/grasp_cup_node.dir/build.make:62: recipe for target 'walker_brain/CMakeFiles/grasp_cup_node.dir/src/grasp_cup_node.cpp.o' failed
make[2]: *** [walker_brain/CMakeFiles/grasp_cup_node.dir/src/grasp_cup_node.cpp.o] Error 1
CMakeFiles/Makefile2:2595: recipe for target 'walker_brain/CMakeFiles/grasp_cup_node.dir/all' failed
make[1]: *** [walker_brain/CMakeFiles/grasp_cup_node.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 98%] Linking CXX executable /home/april/carlo/CURI-Walker/ubt_sim_ws/devel/lib/walker_webots_hardware_interface/walker_webots_hardware_interface_node
[ 98%] Built target walker_webots_hardware_interface_node
[100%] Linking CXX executable /home/april/carlo/CURI-Walker/ubt_sim_ws/devel/lib/example/example_node
[100%] Built target example_node
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
@DrawZeroPoint
Copy link
Owner

If the files are there and the repo is properly cloned, I assume the make order matters and you could try to first make hope by catkin_make --pkg hope

@c-rizz
Copy link
Collaborator Author

c-rizz commented Jun 22, 2020

Solved, I correctly cloned the hope package using:
git submodule init
and
git submodule update

Then ran catkin_make, twice, and it worked

@c-rizz c-rizz closed this as completed Jun 22, 2020
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