Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

NATIVE_LIBRARY_NAME cannot be resolved or is not a field with Linux + Eclipse + Java

Confused about my git opencv-2.4.5 Updating to "Core.NATIVE_LIBRARY_NAME" from the newer tutorial and giving the library setup my best shot (opencvbuildpath/lib), I get an error on Core.NATIVE_LIBRARY_NAME like so:

Stacktrace:

Exception in thread "main" java.lang.Error: Unresolved compilation problem: 
![NATIVE_LIBRARY_NAME cannot be resolved or is not a field]

at VideoCap.main(MyVideoCap.java:7)

I had settled the NativLibrary path at the following location. /home/.../OpenCV/opencv-2.4.5/build/lib

image description