How to compile opencv-341.jar and opencv_java341.dll with org.opencv.face?
How to compile opencv-341.jar and opencv_java341.dll with org.opencv.face for 64 bits and 32 bits.
I am testing the latest versions of opencv and opencv_contrib, but I have errors 2279.
I downloaded opencv from https://github.com/opencv/opencv/tree...
I downloaded opencv_contrib from https://github.com/opencv/opencv_contrib
I have opencv 3.4.1 in the path C: /opencv/opencv-3.4.1 and the path of the opencv_contrib modules is C: \ opencv \ opencv_contrib-master \ modules
After clicking on the Generate button of CMake GUI, I clicked on the Open Project button that is in CMake on the right side of the Generate button.
After clicking on the Generate button of CMake GUI, I clicked on the Open Project button that is in CMake on the right side of the Generate button and Visual Studio 2017 was opened with the project generated by CMake. Then in the Visual Studio file browser, in the CMakeTargets folder I right click on the ALL_BUILD file and then click on Compile. Visual Studio was in Debug and Win32 mode by default.
First:
Severity Code Description Project File Line Status suppressed
Error C3646 'CV_OVERRIDE': unknown invalidation specifier opencv_phase_unwrapping c: \ opencv \ opencv_contrib-master \ modules \ phase_unwrapping \ src \ histogramphaseunwrapping.cpp 54
Second:
Severity Code Description Project File Line Status suppressed
Error C3646 'CV_OVERRIDE': unknown invalidation specifier opencv_phase_unwrapping c: \ opencv \ opencv_contrib-master \ modules \ phase_unwrapping \ src \ histogramphaseunwrapping.cpp 58
Third:
Severity Code Description Project File Line Status suppressed
Error C3646 'CV_OVERRIDE': unknown invalidation specifier opencv_phase_unwrapping c: \ opencv \ opencv_contrib-master \ modules \ phase_unwrapping \ src \ histogramphaseunwrapping.cpp 60
Fourth:
Gravedad Código Descripción Proyecto Archivo Línea Estado suprimido
Error C2079 'CV_FINAL' utiliza class 'cv::plot::Plot2dImpl' sin definir opencv_plot c:\opencv\opencv_contrib-master\modules\plot\src\plot.cpp 56
Fifth
Severity Code Description Project File Line Status suppressed
Error C2143 syntax error: missing ';' in front of ':' opencv_plot c: \ opencv \ opencv_contrib-master \ modules \ plot \ src \ plot.cpp 56
Sixth:
Severity Code Description Project File Line Status suppressed
Error C2059 syntax error: ':' opencv_plot c: \ opencv \ opencv_contrib-master \ modules \ plot \ src \ plot.cpp 56
Seventh:
Severity Code Description Project File Line Status suppressed
Error C2059 syntax error: 'public' opencv_plot c: \ opencv \ opencv_contrib-master \ modules \ plot \ src \ plot.cpp 56
Eighth
Severity Code Description Project File Line Status suppressed
Error C2143 syntax error: missing ';' in front of '{' opencv_plot c: \ opencv \ opencv_contrib-master \ modules \ plot \ src \ plot.cpp 57
Nineth:
Severity Code Description Project File Line Status suppressed
Error C2447 '{': the function header is missing (formal list of previous style?) Opencv_plot c: \ opencv \ opencv_contrib-master \ modules \ plot \ src \ plot.cpp 57
Tenth:
Severity Code Description Project File Line Status suppressed
Error C2027 use of the type 'cv :: plot :: Plot2dImpl' without defining opencv_plot c: \ opencv \ opencv_contrib-master \ modules \ plot \ src \ plot.cpp 465
etc etc etc . . . . Up to 2279 errors in different .cpp files
Here is a text file where I show the visual studio output. https://drive.google.com/file/d/1Plk4...
please remove the screenshots,they're useless here (especially the one with the errormessages. we cannot translate it, as long as it is an image !)
please add the resp. information AS TEXT, not as images. thank you.
What is your problem with the images? You are always saying the same thing. Always say do not include images. I think that the best way to understand mistakes is with an image. The image shows the most specific error, more detailed. I placed the images to show the steps in detail. It is better understood with images. Do not you think? If you want to help, you should upload a video tutorial explaining how to compile opencv and the java face libraries. There are many users asking the same thing as me, you always respond, I have read other posts and I have seen that you always respond, but it does not help 100%.
I asked many questions and did not answer any. I already deleted the images, I just placed one, where the errors appear. There are thousands of errors as the image shows. How do you intend to copy and paste all the errors in the post ?. You always criticize and never help. I already wrote in text an error of many, read the error? There are many errors, and apparently they are syntax in some c ++ files of the modules that I included.
this looks like your opencv_contrib and opencv main repo slightly differ in version (synchonization problem)
can you try to get latest master for both repos, and try again from scratch, with cmake ?
Ok I'll try. Should I download the two that appear in this link? Yes? https://github.com/opencv
What is the opencv version for opencv_contrib?
I just tried with version 3.3 of opencv and opencv_contrib, but I get 4860 errors.
etc etc....
the
CV_FINAL
things were added 2 weeks ago. so it can't be 3.3.try again with latest master branch for both repos, clean up your build folder, and start all over.
You can do a videotutorial to show step by step the procedure of compiling opencv and opencv_contrib?
i can't and i won't. (i also hate videotutorials, with some kind of passion, personally. talking heads, not facts, bah.)