Reputation: 31
I have a problem,i am working on the raspberry PI with OPenCV 3.0+Aruco. I have installed openCV 3.0 and also the openCV_contrib, with a correct process of installation and build. But when i try to compile a project that is detect_board.cpp that is placed in the opencv_contrib i get the following error: aruco.hpp is not a file or directory. But the file aruco.hpp is there. It is in the opencv_contrib-master/modules/aruco/include/opencv2. The header file that are included in the program are:
#include <opencv2/highgui.hpp>
#include <opencv2/aruco.hpp>
#include <vector>
#include <iostream>
Upvotes: 2
Views: 8523
Reputation: 1
just run cmake gui on aruco folder in opencv_contrib-master by creating a build folder inside it, and then open terminal at the folder location and sudo make install. this works for single module installation from contrib-master .
Upvotes: 0
Reputation: 1581
it seems u don't have openCV 3.1.- installed! aruco is an extra module for openCV3 ... http://docs.opencv.org/master/d9/d6d/tutorial_table_of_content_aruco.html#gsc.tab=0
Upvotes: 2