Build Opencv3.1.0 on window x64 with visual studio 2011 into one dll

asked 2016-02-19 01:44:55 -0600

szj087 gravatar image

Since ORB use 500 as its default feature point number. I want to change its default value to 30000. That will need to rebuild the opencv DLLs. I found that there is only one opencv_java310.dll.

I ran cmake-gui to generate the visual studio project file and build it with visual studio 2011. I have some question on the build procedure.

  1. After compilation, I got several opencv_xxxx.dll. How can I build one DLL which contains all opencv_xxx.dll just like the opencv_java310.dll in the opencv windows installation package?

  2. When I run cmake-gui it always shows java compilation option as unavailable. I have installed ant on my PC. which step does I miss?

  3. I found feature point in ORB FeatureDetector is 500. In Opecv 3.1.0 java interface there is no method to change that value. Is it a good way if FeatureDetector provide public interface for user to change the default feature pointer value? why not?

Thanks/Zongjun

edit retag flag offensive close merge delete

Comments

1.) cmake -DBUILD_SHARED_LIBS=OFF 2.) can you please edit your question, and append the cmake output ?

berak gravatar imageberak ( 2016-02-19 01:55:53 -0600 )edit