Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I had the same errors, but I don't know anymore how I solved it.

But these are my current settings which do work:

In the Project Properties:

  • Android -> Add the OpenCV Library
  • C/C++ build -> build command -> ${NDKROOT}/ndk-build (in Windows it's ndk-build.cmd I think)
  • C/C++ -> Environment -> add NDKROOT
  • C/C++ General -> Paths and Symbols -> Add the following:

    1. ${NDKROOT}/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/include
    2. ${NDKROOT}/sources/cxx-stl/gnu-libstdc++/include
    3. ${ProjDirPath}/../../sdk/native/jni/include
    4. ${NDKROOT}/platforms/android-9/arch-arm/usr/include