Given the the above requisites , how to replicate the standard open cv build as downloadable from github? When my build is built, It doesn't produce the open cv x.x-Java.dll. It does however build the opencvx.x-Java.jar.
There are .dll files for the created modules in the build folder, but there is no Java folder with opencv_java310/2423.dll to be found in the build folder. The open cv installation from github has a Java folder with this .dll file. It's missing from my build. I have looked in my build folder folders but that .dll file is not generated.
The build fails partly with the mentioned errors to the include files, but still creates the .jar file and .dll files for the modules.
Have explored some more: installed correct Python version for cmake, 3.5, built and installed numpy 1.11.1, have set debug and numpy include dirs.
Visual studio express 2015 for desktop Windows says with error c1083 for opencv_python3 that it cannot open include file _numpyconfig.h. It is NOT asking for the numpyconfig.h file which reside in /user/.../numpy x.x.x/numpy/core/include/numpy. It's asking for a _numpyconfig file referred to as an #include header file in the numpyconfig.h file.
Visual Studio also complains on behalf of opencv_java with error c1083 that it cannot open include file opencv2/reg.hpp.
What do I do?
Please can some benign experienced person give solution?
Right, I tried a new take on it. Cloned the repo for open cv , made source and target folders. Checked cmake for errors. Will it build? I'll attempt build it without any attempt to add modules from open cv contrib or anything even moderately advanced. Just a plain, simple ordinary build. Will it build? No. No, it won't build. Now I've got 83 errors. Eighty-three. Why? What's wrong. Why am I getting 83 errors from trying to make a plain,simple build? A plain build won't build. And now I've don't get .jar file either. Nothing. Just 83 errors. On the bright side, the count of warnings were zero. Not all bad.
Right, tried once more. This time also being sure getting rid of old reference to Python 2.7 in cmake, only referencing Python 3.5. Now I've got 1 fail but this is an fatal link error. LNK1104: cannot open file Python35_d.lib.and there are neither .jar file nor opencv_javax.x.dll file.
↧