Le Duy Khanh
Le Duy Khanh

Reputation: 1369

ndk build with Visual studio files

I am building an android app using the native classes. The problem is that there are some cpp files calling OpenCV and the opencv header files calling VC includes that are not provided in jni. So what should I do? create a new opencv folder and change every opencv files there to right paths? or any other ways to config it? because I don't want to change the original opencv folder. that's for VC programming.

Upvotes: 0

Views: 554

Answers (2)

Le Duy Khanh
Le Duy Khanh

Reputation: 1369

pointed out the thing. I need to put those to Application.mk. Thought this file is optional.

Upvotes: 1

Alex Cohn
Alex Cohn

Reputation: 57173

<algorithm> is one of the STL headers. You should enable STL support in NDK, as described in docs/CPLUSPLUS-SUPPORT.html document.

Upvotes: 1

Related Questions