Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   OpenCV on RoboRIO and Eclipse (http://www.chiefdelphi.com/forums/showthread.php?t=145666)

JohnM 13-03-2016 20:48

OpenCV on RoboRIO and Eclipse
 
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. I am following these exact instructions. 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.

joeojazz 13-03-2016 22:23

Re: OpenCV on RoboRIO and Eclipse
 
Try these instructions it's an old cv (2.4) but same process. http://docs.opencv.org/2.4/doc/tutor...a_eclipse.html

FleventyFive 24-03-2016 23:36

Re: OpenCV on RoboRIO and Eclipse
 
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

kylelanman 25-03-2016 08:25

Re: OpenCV on RoboRIO and Eclipse
 
Quote:

Originally Posted by FleventyFive (Post 1562851)
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/sh...8&postcount=18


All times are GMT -5. The time now is 22:21.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi