Hi there. I’m having trouble making OpenCV work with Eclipse so that we can deploy code to the robot and have our vision system integrated with it. *(https://github.com/team2053tigertronics/opencvInstall) But when building the c++ project it spits out these errors.
I have tried just opening a USB camera in OpenCV in the program, even if I just #include OpenCV it spits out these errors so it is probably not an issue with the code I have currently.*
Are you still having this issue?
Try opening WPILIB.h (in your includes somewhere) and commenting out the line “#define REAL”. For some reason, having this variable defined messes with opencv
This thread has a little more information on why this is a safe thing to do. http://www.chiefdelphi.com/forums/showpost.php?p=1430768&postcount=18