OpenCV Java compilation Errors

asked 2018-06-20 12:23:04 -0500

jayaise gravatar image

updated 2018-12-25 14:55:25 -0500

Hi Team,

Please help me in below errors, OpenCV-341.jar got generated, but OpenCV_java341.dll didn't get generated, I am getting below errors:

Mat.cpp converters.cpp jni_part.cpp listconverters.cpp opencv_java.cpp utils.cpp core_manual.cpp dnn_converters.cpp C:\OpenCV-course\opencv-3.4.1\build\modules\java_bindings_generator\gen\cpp\reg.inl.hpp(12): fatal error C1083: Cannot open include file: 'opencv2/reg.hpp': No such file or directory (compiling source file C:\O penCV-course\opencv-3.4.1\modules\java\generator\src\cpp\opencv_java.cpp) [C:\OpenCV-course\opencv-3.4.1\build\modules\java\jni\opencv_java.vcxproj] features2d_converters.cpp Done Building Project "C:\OpenCV-course\opencv-3.4.1\build\modules\java\jni\opencv_java.vcxproj" (default targets) -- FAILED.

Done Building Project "C:\OpenCV-course\opencv-3.4.1\build\ALL_BUILD.vcxproj" (default targets) -- FAILED.

Done Building Project "C:\OpenCV-course\opencv-3.4.1\build\INSTALL.vcxproj" (default targets) -- FAILED.

Build FAILED.

"C:\OpenCV-course\opencv-3.4.1\build\INSTALL.vcxproj" (default target) (1) -> "C:\OpenCV-course\opencv-3.4.1\build\ALL_BUILD.vcxproj" (default target) (3) -> "C:\OpenCV-course\opencv-3.4.1\build\modules\java\jni\opencv_java.vcxproj" (default target) (51) -> (ClCompile target) -> C:\OpenCV-course\opencv-3.4.1\build\modules\java_bindings_generator\gen\cpp\reg.inl.hpp(12): fatal error C1083: Cannot open include file: 'opencv2/reg.hpp': No such file or directory (compiling source file C: \OpenCV-course\opencv-3.4.1\modules\java\generator\src\cpp\opencv_java.cpp) [C:\OpenCV-course\opencv-3.4.1\build\modules\java\jni\opencv_java.vcxproj]

0 Warning(s)
1 Error(s)
edit retag flag offensive close merge delete