How MAC compiles opencv4.0.1

asked 2019-01-15 03:21:27 -0500

updated 2019-01-15 03:32:37 -0500

  1. I want each module to be a separate so.
    1. In particular, delete JNI from Java.
    2. It's better to have a specific compilation step
edit retag flag offensive close merge delete

Comments

what exactly are you trying to do ? please have a look at the faq and try to improve your question !

berak gravatar imageberak ( 2019-01-15 03:26:35 -0500 )edit
  1. I want to compile opencv for Android platform by myself
  2. The following is my cmake script, which can't compile opencv for Android platform.
  3. It's not compiled from the Android platform.

    cmake \ -DCMAKE_TOOLCHAIN_FILE=../platforms/android/android.toolchain.cmake \ -DANDROID_NDK=/Users/xiaopeng/Android/android-ndk-r15c/ \ -DCMAKE_BUILD_TYPE=Release \ -DANDROID_ABI=armeabi-v7a -DANDROID_NATIVE_API_LEVEL=19 ..

tianshaokai gravatar imagetianshaokai ( 2019-01-15 20:25:21 -0500 )edit

@tianshaokai. Here is link for mac... mac opencv. Scroll down section 6 for macs.

supra56 gravatar imagesupra56 ( 2019-01-16 07:10:59 -0500 )edit