Log in

View Full Version : OpenCV importing issues


Team3205
29-01-2015, 16:15
My team has been having trouble with importing the classes in the OpenCV library, even though it has been imported correctly the compiler in eclipse still is not able to find them. Eclipse is able to compile the other libraries and build their jar files, but it cannot find the OpenCV jar file. Any help that we can get is greatly appreciated!

[athena-compile] Compiling src with classpath=C:\Users\Developer/wpilib/java/current/lib/WPILib.jar:
C:\Users\Developer/wpilib/java/current/lib/NetworkTables.jar to build

Ben Wolsieffer
29-01-2015, 18:12
The WPI plugins do not follow the build path settings in Eclipse. You need to manually add the OpenCV jar to the classpath in the build script. See this post (http://www.chiefdelphi.com/forums/showpost.php?p=1428941&postcount=9) for instructions.