Skip to content
Advertisement

Solving native open cv code error in androd.mk for developing panorama on android

I am trying to develop an android application for generating panoramic images usig feature of image stitching in Open CV.

I have used the code give on the site given below.

http://ramsrigoutham.com/2012/12/21/panorama-app-on-android-using-stitching-module-opencv/

There is an error shown in the log cat shown below. Please guide me how to solve the error.

This is the screenshot of the native.cpp file where using namespace errors are shown in the image link given above

Android.mk file screenshot is given in the image link given above.

http://i.imgur.com/Hm8gtiY.png

This is the Native call for stitching images.

native.cpp

JavaScript

This is the android.mk file which i have created having no idea on how to generate it.

Android.mk

JavaScript

And this is the Main Android code that has main GUI and calls the OpenCV function

Sample3Native.java

JavaScript

Advertisement

Answer

I was going to ask you to show us your Application.mk file, but since I don’t have enough rep I can’t comment your question, however, I was able to reproduce your problem by deleting some lines of my working project Application.mk, so try adjusting your Application.mk to something like this:

JavaScript
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement