Closed Tuebel closed 5 years ago
I'm a beginner and having the same issue. Could you please tell me how do you change the aruco_detect.cpp file? Thanks!
Simply replace #if OPENCV_MINOR_VERSION==2
with #define CV_MINOR_VERSION 2
.
But since this code is merged, this bug should not occur if you pull the latest kinetic-devel source.
@rajk97 How are you trying to build the code? Where did you pull it from.
If you are running from the latest branch, you shouldn't be having this problem, as the fix was merged in.
I think it is the same build issue that was mentioned in a comment of #94. The problem is that the missing members (see the log) were introduced in OpenCV 3.3. In aruco_detect.cpp the macro
#if OPENCV_MINOR_VERSION==2
tries to prevent the error but the version.hpp from OpenCV only defines#define CV_MINOR_VERSION 2
. Changing the lines in aruco_detect.cpp fixes the issue for me.Here is the cmake error: