If I do catkin_make clean and build my project from scratch with catkin_make, the compiler cannot find ArucoInfo.h, so I did a little workaround: I commented out the parts in the aruco_detector_ocv.cpp which use the ArucoInfo message. Rebuilt everything with catkin_make, then uncommented the ArucoInfo parts and ran catkin_make again.
I saw that alfons_msgs are mentioned in the package.xml and in the CMakeLists.txt as dependencies, and should be there before building aruco_detector_ocv, but this is not the case.
If I do catkin_make clean and build my project from scratch with catkin_make, the compiler cannot find ArucoInfo.h, so I did a little workaround: I commented out the parts in the aruco_detector_ocv.cpp which use the ArucoInfo message. Rebuilt everything with catkin_make, then uncommented the ArucoInfo parts and ran catkin_make again. I saw that alfons_msgs are mentioned in the package.xml and in the CMakeLists.txt as dependencies, and should be there before building aruco_detector_ocv, but this is not the case.