WPI-AIM / ros_falcon

ROS Interface for Novint Falcon
8 stars 12 forks source link

fatal error: falcon/core/FalconDevice.h: No such file or directory #12

Closed stevensu1838 closed 4 years ago

stevensu1838 commented 5 years ago

Hi, Ubuntu 14.04 ROS indigo I follow your readme instrutions and I got the following errors. Can you please help?

[ 97%] [ 97%] Building CXX object ros_falcon/CMakeFiles/falcon_control.dir/src/falcon_control.cpp.o [ 98%] [ 98%] Building CXX object ros_falcon/CMakeFiles/falcon_cs_pid.dir/src/falcon_cs_pid.cpp.o [ 98%] [ 98%] Building CXX object ros_falcon/CMakeFiles/joystick.dir/src/joystick.cpp.o Built target ros_falcon_generate_messages Building CXX object ros_falcon/CMakeFiles/falcon_js_pid.dir/src/falcon_js_pid.cpp.o Building CXX object ros_falcon/CMakeFiles/driver.dir/src/driver.cpp.o [100%] Building CXX object ros_falcon/CMakeFiles/gripper.dir/src/gripper.cpp.o /home/ted/catkin_ws/src/ros_falcon/src/joystick.cpp:19:38: fatal error: falcon/core/FalconDevice.h: No such file or directory

include "falcon/core/FalconDevice.h"

                                  ^

compilation terminated. /home/ted/catkin_ws/src/ros_falcon/src/falcon_cs_pid.cpp:10:38: fatal error: falcon/core/FalconDevice.h: No such file or directory

include "falcon/core/FalconDevice.h"

                                  ^

compilation terminated. /home/ted/catkin_ws/src/ros_falcon/src/falcon_js_pid.cpp:10:38: fatal error: falcon/core/FalconDevice.h: No such file or directory

include "falcon/core/FalconDevice.h"

                                  ^

compilation terminated. /home/ted/catkin_ws/src/ros_falcon/src/driver.cpp:16:38: fatal error: falcon/core/FalconDevice.h: No such file or directory

include "falcon/core/FalconDevice.h"

                                  ^

compilation terminated. Linking CXX executable /home/ted/catkin_ws/devel/lib/ros_falcon/gripper [100%] Built target gripper Linking CXX executable /home/ted/catkin_ws/devel/lib/ros_falcon/falcon_control [100%] Built target falcon_control make[2]: [ros_falcon/CMakeFiles/driver.dir/src/driver.cpp.o] Error 1 make[1]: [ros_falcon/CMakeFiles/driver.dir/all] Error 2 make[1]: Waiting for unfinished jobs.... make[2]: [ros_falcon/CMakeFiles/falcon_cs_pid.dir/src/falcon_cs_pid.cpp.o] Error 1 make[1]: [ros_falcon/CMakeFiles/falcon_cs_pid.dir/all] Error 2 make[2]: [ros_falcon/CMakeFiles/joystick.dir/src/joystick.cpp.o] Error 1 make[1]: [ros_falcon/CMakeFiles/joystick.dir/all] Error 2 make[2]: [ros_falcon/CMakeFiles/falcon_js_pid.dir/src/falcon_js_pid.cpp.o] Error 1 make[1]: [ros_falcon/CMakeFiles/falcon_js_pid.dir/all] Error 2 make: [all] Error 2 Invoking "make -j8 -l8" failed ted@vra1:~/catkin_ws$

adnanmunawar commented 5 years ago

Hello,

I think this error is emanating for the compiler unable to find the nifalcon package. Did you install this package https://github.com/libnifalcon/libnifalcon as recommended on the page?

The easiest way to test is to run the following command in your terminal findfalcons. If this command doesn't run, it means that the package has not been properly installed.

adnanmunawar commented 5 years ago

Hello, is there any update on this issue. Did you try to install and test the nifalcon package separately?