fiducials package build error

asked 2018-09-29 04:49:32 -0500

vishal@leotechsa gravatar image

updated 2018-10-01 03:59:52 -0500

gvdhoorn gravatar image

trying to run fiducials package , for that I have add fiducials package in the ros work-space and try to run using command catkin_make command but we get the error error:

opencv2/aruco.hpp: No such file or directory #include <opencv2/aruco.hpp>

 In file included from /home/vikram/catkin_ws/src/fiducials/fiducial_slam/src/map.cpp:32:0:
/home/vikram/catkin_ws/src/fiducials/fiducial_slam/include/fiducial_slam/map.h:43:29: fatal error: opencv2/aruco.hpp: No such file or directory
 #include <opencv2/aruco.hpp>
edit retag flag offensive close merge delete

Comments

1

Do you have vision_opencv package installed?

l4ncelot gravatar image l4ncelot  ( 2018-10-01 03:03:55 -0500 )edit
1

Which ROS distribution are you using? Which branch of fiducials package are you using?

l4ncelot gravatar image l4ncelot  ( 2018-10-01 03:07:28 -0500 )edit

I am use the indigo ros distribution and I am fiducials branch is indigo-devel . And after install opencv 3.4.1 its gives the errors .

/home/vikram/catkin_fi/src/fiducials/aruco_detect/src/create_marker.cpp: In function ‘int main(int, char**)’:
/home/vikram/catkin_fi/src/fiducials/aruco_detect/src
vishal@leotechsa gravatar image vishal@leotechsa  ( 2018-10-02 01:34:25 -0500 )edit

vision_opencv package is installed.

vishal@leotechsa gravatar image vishal@leotechsa  ( 2018-10-02 01:39:48 -0500 )edit

@vishal@leotechsa is it the whole error message? Have you tried to clean your workspace (remove build and devel directories) and rebuild the project?

l4ncelot gravatar image l4ncelot  ( 2018-10-02 01:46:35 -0500 )edit

@vishal@leotechsa also use preformatted text for your code (101010 image or Ctrl+k) for better readability.

l4ncelot gravatar image l4ncelot  ( 2018-10-02 01:48:14 -0500 )edit

ok I have tried to rebuild the project but still its gives the same errors

vishal@leotechsa gravatar image vishal@leotechsa  ( 2018-10-02 02:40:59 -0500 )edit