OpenCV: highgui library not implemented
Qt/OpenCV runs OK on my laptop, most features also on my android but...
I'm stuck when exporting on Android with highgui functions.
I have OSX 10.7,Qt 5.3.1 and openCV4Android 2.4.9 (already compiled version)
When I try to use the highgui library, I get a nice "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, ..."
In OpenCV source, it says I need Cocoa or Carbon.
Since I'm using OSX, both should be there.
Someone has a clue please?
Thanks a lot,
#if defined(HAVE_WIN32UI) // see window_w32.cpp
#elif defined (HAVE_GTK) // see window_gtk.cpp
#elif defined (HAVE_COCOA) // see window_carbon.cpp
#elif defined (HAVE_CARBON)
#elif defined (HAVE_QT) //YV see window_QT.cpp
// No windowing system present at compile time ;-(
// We will build place holders that don't break the API but give an error
// at runtime. This way people can choose to replace an installed HighGUI
// version with a more capable one without a need to recompile dependent
// applications or libraries.
cvError( CV_StsError, funcname,
"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",
FILE, LINE )
Hi and welcome to devnet,
Cocoa/Carbon are for OS X build of OpenCV, you are using an android build. You should rather ask this question on the OpenCV forums
OK, thanks Sgaist.
If I get an answer, I'll post it.