OpenCV-java341.dll is not getting generated
Hi I configured the open-contrib modules in cmake, when i execute the below command cmake.exe --build . --config Release --target Install
OpenCV-java341.dll is not getting generated but opencv-341.jar gets generated with face folder.
Can you please help me in this as this is urgent.
what ? face folder ?
also please take another look here , how to add the contrib modules
there should be a opencv_face341.dll in the build/bin or somewhere in build/install
as urgent as anyone's post.
I configured opencv-contrib, opencv_face341.dll is also generated. I configured to build java wrapper libraries.
In eclipse I configured opencv-341.jar with native library opencv_face341.dll. I written a program for face recognition and for the statement FaceRecognizer faceRecognizer = EigenFaceRecognizer.create().
I am getting below errors: Exception in thread "main" java.lang.UnsatisfiedLinkError: no opencv_java341 in java.library.path at java.lang.ClassLoader.loadLibrary(Unknown Source) at java.lang.Runtime.loadLibrary0(Unknown Source) at java.lang.System.loadLibrary(Unknown Source) at TestFaceRecog.main(TestFaceRecog.java:21)
Its expecting opencv_java341.dll file as native library.
Can you help me how to proceed
wait, one step after the other !
the jar file is indeed built before the dll, so we have to make sure, there were no compile errors, when building the opencv libs. can you look again ? you also should have build the INSTALL project, which will copy libs/dlls/headers to your install folder. there should have been console logs for the copying.
once you've found the missing dll, rather try to build a simple ant based project (that is at least proven to work)
i can't help you with eclipse (it's a goddamn monster), i'm not using it.