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?