Ask Your Question

Revision history [back]

It looks like you forgot to add STL support to your project. You need to add include paths to your C project in Eclipse and define STL type in Application.mk. You can use any OpenCV Sample with native code as reference. There is jni/Application.mk file and valid Eclipse CDT project config there. See Tutorial-3 and Tuturial-4 if you use OpenCV 2.4.2 or 2.4.3.x and Tutorial-2 if you use 2.4.4b.