Reputation: 55
I'm very new to Android development. I have written a desktop application in C/C++ that uses some OpenCV functions. Now I want to port this application into android.
Now if I want to use those same cpp files(which uses opencv library), how should I compile them. Where should I include openCV library for cpp.
I have downloaded and included opencv library for android but I directly want to use those cpp files using android-ndk.
Please help
Upvotes: 0
Views: 96
Reputation: 14009
Have you read this document "Android Development with OpenCV" ? You can compile your cpp files using Android NDK with like this Android.mk. I recommend you to read Mastering OpenCV with Practical Computer Vision Projects or such kind of Book.
Upvotes: 1