Skip to content Skip to sidebar Skip to footer

Non-system Libraries In Linker Flags

I have a fully working app employing some C++ and OpenCV. It compiles and runs successfully. Right now I am just trying to tidy my code and make changes to remove all warnings at c

Solution 1:

Before you include OpenCV.mk, you must make sure that $(OPENCV_INSTALL_MODULES) is equal on. You have the line OPENCV_INSTALL_MODULES:=on in your Android.mk file, but for some reason it did not work. Without digging into all possible (and impossible) problems, an easy way to fix the problem is to write

override OPENCV_INSTALL_MODULES:=on

in your Android.mk; another - to run

ndk-build OPENCV_INSTALL_MODULES=on

from command line.

Post a Comment for "Non-system Libraries In Linker Flags"