Ask Your Question

Revision history [back]

Android Studio OpenCV NDK: Unspecified error, The function is not implemented

I write in Android Studio on Windows. And I use OpenCV in my native c++ code.When calling the function, I get this error in logcat:

"OpenCV Error: Unspecified error (The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script) in cvShowImage, file /Volumes/Linux/builds/master_pack-android/opencv/modules/highgui/src/window.cpp, line 545".

I found different instructions how to do it in LInux but not any for Windows. Who knows how can I solve this problem?