2018-11-28 05:04:18 -0600 | received badge | ● Notable Question (source) |
2017-06-16 10:44:22 -0600 | received badge | ● Popular Question (source) |
2014-04-12 22:45:19 -0600 | asked a question | which OpenCV version is installed? (Mac) Is there a line of code or a command line tool that I can use to tell what version and what bitness is my install of OpenCV. I can see by the folder name that I have 2.4.8 but I need to check the bitness. Thanks! |
2014-03-24 15:29:38 -0600 | asked a question | NATIVE_LIBRARY_NAME cannot be resolved or is not a field Hi all, After a 2 days of figuring it out, I have successfully built and installed openCV on my Mac and am programming with it using the Java API. I am trying to understand why do I get a "NATIVE_LIBRARY_NAME cannot be resolved or is not a field" error and why does the compiler not like this line: System.loadLibrary(Core.NATIVE_LIBRARY_NAME); To make it work I have to write in the specific library: System.loadLibrary("opencv_java248"); I create new project in Eclipse and linking the openCV-2.4.8.jar to it. I then set the Native Library Location to "build/lib" which is where the libopencv_java248.dylib file is located. I read that since I am on a Mac there wont be a build/java fodler with the Dlls. And I am just trying to run this code: import org.opencv.core.Core; import org.opencv.core.CvType; import org.opencv.core.Mat; public class HelloWorldOpenCV { |
2014-03-23 23:46:10 -0600 | commented answer | no opencv_java244 in java.library.path I have been dealing with this same issue. I pointed my Native Library to the build/lib folder, but I still am getting compile time errors: System.loadLibrary(Core.NATIVE_LIBRARY_NAME); NATIVE_LIBRARY_NAME cannot be resolved or is not a field |