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 cvWaitKey, file /Users/apple/Documents/project/demo/opencv/opencv-master/modules/highgui/src/window.cpp, line 616
libc++abi.dylib: terminating with uncaught exception of type cv::Exception: /Users/apple/Documents/project/demo/opencv/opencv-master/modules/highgui/src/window.cpp:616: error: (-2) 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 function cvWaitKey
求帮助 coding
char c = cvWaitKey(33);
if (c == 27) {
break;
}
libc++abi.dylib: terminating with uncaught exception of type cv::Exception: /Users/apple/Documents/project/demo/opencv/opencv-master/modules/highgui/src/window.cpp:616: error: (-2) 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 function cvWaitKey
求帮助 coding
char c = cvWaitKey(33);
if (c == 27) {
break;
}
.....................
char c = cvWaitKey(33);
if (c == 27) {
break;
}
}是这样的,哈哈
我在build_framework.py里面cmake_flags.append("-DCMAKE_C_FLAGS=-fembed-bitcode")
cmake_flags.append("-DCMAKE_CXX_FLAGS=-fembed-bitcode")
cmake_flags.append("-WITH_GTK=ON")
编译之后还是没有解决问题,求高人指教
你报的错误就是gtk缺失啊。加上:"-DWITH_GTK=ON"
你报的错误就是gtk缺失啊。加上:"-DWITH_GTK=ON"
还是没解决问题