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

ROS Compilation Error: fatal error: nuitrack/Nuitrack.h: No such file or directory #2

Open
jamie-moriarty opened this issue Nov 16, 2018 · 1 comment

Comments

@jamie-moriarty
Copy link

Hi I am trying to use your ROS node on Ubuntu 16.4, with ROS Kinetic, Nuitrack (downloaded recently), and the Intel realsense D435.

I've installed the body_tracker_msgs without an issue but it seems that ROS is not able to find Nuitrack when compiling nuitrack_body_tracker. How did you solve this issue?

[ 92%] Building CXX object nuitrack_body_tracker/CMakeFiles/nuitrack_body_tracker_node.dir/src/nuitrack_body_tracker_node.cpp.o /home/jamie/catkin_ws/src/nuitrack_body_tracker/src/nuitrack_body_tracker_node.cpp:49:31: fatal error: nuitrack/Nuitrack.h: No such file or directory compilation terminated. nuitrack_body_tracker/CMakeFiles/nuitrack_body_tracker_node.dir/build.make:62: recipe for target 'nuitrack_body_tracker/CMakeFiles/nuitrack_body_tracker_node.dir/src/nuitrack_body_tracker_node.cpp.o' failed make[2]: *** [nuitrack_body_tracker/CMakeFiles/nuitrack_body_tracker_node.dir/src/nuitrack_body_tracker_node.cpp.o] Error 1 CMakeFiles/Makefile2:1736: recipe for target 'nuitrack_body_tracker/CMakeFiles/nuitrack_body_tracker_node.dir/all' failed make[1]: *** [nuitrack_body_tracker/CMakeFiles/nuitrack_body_tracker_node.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: *** [all] Error 2 Invoking "make -j2 -l2" failed

Thank you!

@GyeoreLee
Copy link

GyeoreLee commented Nov 22, 2018

You just need to modify NUITRACK_SDK_PATH in CMakelist.txt.

# For nuitrack
# add_compile_options(-std=c++11 -D_GLIBCXX_USE_CXX11_ABI=0)
set(NUITRACK_SDK_PATH /home/YOUR_WORKSPACE_PATH/NuitrackSDK
)

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