package org.opencv... does not exist
I'm using the version of Opencv 4.0.0, Maven and Java 8, Intellij on Mac OS. When I link this library in my IntelliJ IDEA, the modules like are recognised, as expected. However when trying to build the java project, I get this error:
However according several tutorial (and other resources), the build should include a build/java/x64 folder, containing a .dll file, however there is no build/java folder at all. I do find a libopencv_java341.dll in build/lib however, linking that file does not resolve the problem.
When I download the Windows package form OpenCV, there is a Java folder in the build folder, and that does include the .jar file and an /x64 folder, however, those do not include the contributed libs on Mac OS or Linux.
So the question is, what should I do to correctly setup the OpenCV library, including the contributed libs?
there is no prebuilt anything for macos or linux, and apart from the win packs, opencv does not maintain any binary repositories.
we also can't help you with maven problems, that's way off-topic here.
build from src.
I think they did not understand my question, I will write again and if it is necessary to open another topic. I can not build the package, opencv 4.0.0 installed correctly, I'm using Intellij. How to solve the problem?
ok, sure, try again, please, (and sorry if i misplaced it)
you probably need to show us the steps taken, before you try to start a project, using your ide (we unfortunately can't help with intellij related problems here, this is the opencv site !)
also, the prebuilt (windows) libs only cover the base opencv libs, like imgcodecs, etc.
to do anything useful, you'll require the opencv_contrib modules, which means -- you'll have to build from src in any case, on any os, before you can start any project on your own.
In all the Opencv version tutorials on linux or mac, follow correctly and I can use the library. The problem occurs at the time of building the project package. I installed the opencv_contrib modules and built my project from / src in my project. I do not know what else to do to solve the problem :(
show us the cmake output, then, please. (edit your q., and append it there)