opencv-3.1.0 compile with contrib error when compile aruco
...../opencv_contrib/modules/aruco/src/charuco.cpp: In function ‘double cv::aruco::calibrateCameraCharuco(cv::InputArrayOfArrays, cv::InputArrayOfArrays, cv::Ptr<cv::aruco::charucoboard>&, cv::Size, cv::InputOutputArray, cv::InputOutputArray, cv::OutputArrayOfArrays, cv::OutputArrayOfArrays, cv::OutputArray, cv::OutputArray, cv::OutputArray, int, cv::TermCriteria)’:
..../opencv_contrib/modules/aruco/src/charuco.cpp:741:59: error: cannot convert ‘const cv::_OutputArray’ to ‘int’ for argument ‘8’ to ‘double cv::calibrateCamera(cv::InputArrayOfArrays, cv::InputArrayOfArrays, cv::Size, cv::InputOutputArray, cv::InputOutputArray, cv::OutputArrayOfArrays, cv::OutputArrayOfArrays, int, cv::TermCriteria)’ _perViewErrors, flags, criteria); ^
did you update this from a previous 3.1 version ? if so, try to clean the build folder, and rerun cmake && make && make install (i'm just guessing, a stale pch file got in your way)
I get the feeling that you are this guy and thus can you provide the output I asked for in that topic?
thanks a lot, I got the opencv-3.1.0 source from the download page not the github, but the contrib is from the github, I'll try to get just from github.@berak@StevenPuttemans
@hzw, as said before, that will not work :) you will need github compatible branches :)
Can you give me the links where to download and retry, I am getting the same error as this person. I followed this procedure >http://embedonix.com/articles/image-processing/installing-opencv-3-1-0-on-ubuntu/
and the biggerst issue is that i need opencv for ARTag detection, hence i need the aruco contib
Go to your command line
Then you have latest versions!
I think the error occurs due to updates made in the aruco and charuco file, 3-4 days ago. I ll try what you suggested.
Already on 'master' Your branch is up-to-date with 'origin/master'.
If you don't use Aruco, just make it OFF in cmake, compile other module is fine