No opencv jar file created in build/bin

asked 2019-06-26 11:46:51 -0500

I've followed the instructions as mentioned in the official docs here:

https://opencv-java-tutorials.readthe...

I'm using cmake-gui. When I click on configure, according to tutorial, the following error appears:

image description

image description

image description

edit retag flag offensive close merge delete

Comments

I'm using Linux Mint 19.1

andresoares gravatar imageandresoares ( 2019-06-26 11:51:32 -0500 )edit

both with version 3.4.4 and 3.4.6 the same error occurs.

andresoares gravatar imageandresoares ( 2019-06-26 12:27:00 -0500 )edit

where's the error ?

berak gravatar imageberak ( 2019-06-26 14:22:16 -0500 )edit

and no, the jar file won't be installed to /usr/local/bin (opencv_java.so will end up there, however) but more likely to something like /usr/local/share/OpenCV/something/...

berak gravatar imageberak ( 2019-06-26 14:25:44 -0500 )edit

On the first image. Highlight in red.

andresoares gravatar imageandresoares ( 2019-06-26 14:25:58 -0500 )edit

and btw:

as mentioned in the official docs here:

no such thing. all we have is (outdated): https://docs.opencv.org/master/d9/d52...

and sorry, your screenshots are all useless (like they allways are)

it only shows us that there is an error, but no reason why.

berak gravatar imageberak ( 2019-06-26 14:30:46 -0500 )edit

I'm sorry, don't understand. What I do for resolve this error?

andresoares gravatar imageandresoares ( 2019-06-26 14:31:00 -0500 )edit

Useless for what reason? If you can not help, you should respond with education. If the error exists, there is a reason for it to occur.

andresoares gravatar imageandresoares ( 2019-06-26 14:39:58 -0500 )edit

useless like always, because they don't show anything useful, we can't quote you, your question can't be properly indexed for search (it has no content apart form the images)

berak gravatar imageberak ( 2019-06-26 14:41:38 -0500 )edit

again to help you, we've to find out, why the cmake configuration step failed on your box.

maybe you can run cmake (NOT -gui) on the cmdline again (it should pick up your prev. seettinga), and scan the (probably large) output for some hints (or paste it into the question as text)

berak gravatar imageberak ( 2019-06-26 14:45:14 -0500 )edit