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


i write in android studio on windows. , use opencv in native c++ code.when calling function, error in logcat:

"opencv error: unspecified error (the function not implemented. rebuild library windows, gtk+ 2.x or carbon support. if on ubuntu or debian, install libgtk2.0-dev , pkg-config, 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 in linux not windows. knows how can solve problem?

the error means, cannot use opencv's gui / windowing functions on android, since window functions work different there, on desktop pc.

this means, cannot use imshow() namedwindow() createtrackbar() or waitkey() , have use native android equivalent

(it's neither windows, not linux problem, , recompiling won't change it)


Comments