ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

Hi End-Effector,

I am trying to build this package but I am having problems. I have followed all the steps of the "BUILDING AND USAGE" section but I get this error when I use the catkin_make command (step 7):

/home/laboratorio/catkin_ws/src/ros_aruco/ros_aruco/src/ros_aruco.cpp:50:1: error: ‘VideoCapture’ does not name a type /home/laboratorio/catkin_ws/src/ros_aruco/ros_aruco/src/ros_aruco.cpp: In function ‘int main(int, char)’: /home/laboratorio/catkin_ws/src/ros_aruco/ros_aruco/src/ros_aruco.cpp:131:2: error: ‘TheVideoCapturer’ was not declared in this scope /home/laboratorio/catkin_ws/src/ros_aruco/ros_aruco/src/ros_aruco.cpp:152:2: error: ‘namedWindow’ is not a member of ‘cv’ /home/laboratorio/catkin_ws/src/ros_aruco/ros_aruco/src/ros_aruco.cpp:153:2: error: ‘namedWindow’ is not a member of ‘cv’ /home/laboratorio/catkin_ws/src/ros_aruco/ros_aruco/src/ros_aruco.cpp:160:2: error: ‘createTrackbar’ is not a member of ‘cv’ /home/laboratorio/catkin_ws/src/ros_aruco/ros_aruco/src/ros_aruco.cpp:161:2: error: ‘createTrackbar’ is not a member of ‘cv’ /home/laboratorio/catkin_ws/src/ros_aruco/ros_aruco/src/ros_aruco.cpp:210:5: error: ‘Rodrigues’ is not a member of ‘cv’ /home/laboratorio/catkin_ws/src/ros_aruco/ros_aruco/src/ros_aruco.cpp:267:5: error: ‘imshow’ is not a member of ‘cv’ /home/laboratorio/catkin_ws/src/ros_aruco/ros_aruco/src/ros_aruco.cpp:268:5: error: ‘imshow’ is not a member of ‘cv’ /home/laboratorio/catkin_ws/src/ros_aruco/ros_aruco/src/ros_aruco.cpp:274:7: error: ‘waitKey’ is not a member of ‘cv’ /home/laboratorio/catkin_ws/src/ros_aruco/ros_aruco/src/ros_aruco.cpp: In function ‘void cvTackBarEvents(int, void)’: /home/laboratorio/catkin_ws/src/ros_aruco/ros_aruco/src/ros_aruco.cpp:313:5: error: ‘imshow’ is not a member of ‘cv’ /home/laboratorio/catkin_ws/src/ros_aruco/ros_aruco/src/ros_aruco.cpp:314:5: error: ‘imshow’ is not a member of ‘cv’ make[2]: * [ros_aruco/ros_aruco/CMakeFiles/ros_aruco.dir/src/ros_aruco.cpp.o] Error 1 make[1]: [ros_aruco/ros_aruco/CMakeFiles/ros_aruco.dir/all] Error 2 make: * [all] Error 2 Invoking "make" failed

Did you get the same error? How did you get it work? I don't know why I get this error because I have followed all the steps. It would be great if you could help me. Thank you!