Android + NDK including OpenCV [closed]

asked 2012-08-27 08:59:50 -0600

Bia6969 gravatar image

updated 2012-08-27 11:18:34 -0600

I'm trying to compile a simple android application with opencv c++ code running from jni folder. I have a simple hello world and i just wanted to include the usual opencv libraries (core, imgproc, highgui): i can't. It keeps saying there is no such file in the given directory.On my i have

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS) include ../../sdk/native/jni/

LOCAL_MODULE := HelloAgain LOCAL_SRC_FILES := HelloAgain.cpp LOCAL_LDLIBS += -llog -ldl


and i tried to include opencv libs on my cpp such as: opencv2/core/core.hpp (example)

Any tips?

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by Kirill Kornyakov
close date 2012-08-28 06:19:40.378373


Duplicate of the And please don't say that its not a duplicate!

Kirill Kornyakov gravatar imageKirill Kornyakov ( 2012-08-28 06:19:24 -0600 )edit

Sorry, this content is no longer available, dead link

Nemesis gravatar imageNemesis ( 2015-04-29 11:14:55 -0600 )edit