Ask Your Question
0

How do I build java libraries into existing OpenCV 2.4.10 installation?

asked 2015-02-23 10:55:22 -0600

kim123 gravatar image

I successfully built OpenCV 2.4.10 on a Raspberry PI 2 and tested it with a simple C++ program; however, when I went looking for the java jar I couldn't find it. I followed very detailed instructions for installing OpenCV on a Raspberry PI, but I wasn't looking at the time to ensure that the java libraries were included. I have verified that I have all the dependencies by running cmake in a new directory and checking the output for the java targets as shown in the tutorial.

Is there a simple way to build just the java libraries? I am a novice when it comes to cmake and make. I have done very little C and C++ programming and that was many years ago with a nice IDE.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-03-05 09:01:24 -0600

kim123 gravatar image

Ok, I spent some time studying the make file and figured out how to specify the targets that I wanted built. I selected the ones that seemed related to Java and it worked.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-02-23 10:55:22 -0600

Seen: 357 times

Last updated: Mar 05 '15