imshow is broken on Mac in the 2.4.6.1 (Bug #3197)


Added by Kirill Kornyakov over 11 years ago. Updated over 11 years ago.


Status:Done Start date:2013-08-06
Priority:Normal Due date:
Assignee:Kirill Kornyakov % Done:

0%

Category:highgui-gui
Target version:2.4.7
Affected version:branch '2.4' Operating System:Mac OSX
Difficulty: HW Platform:x86
Pull request:

Description

It seems that imshow function (and may be larger part of highgui) is broken. It actually doesn't work, and it can be reproduced with any of C/C++ samples. Here is what I have if run the c-example-facedetect with the latest 2.4 branch (b2d1d87ed)

~/Work/OpenCV/build_mac_2.4> ./bin/c-example-facedetect --cascade=../opencv/data/lbpcascades/lbpcascade_frontalface.xml  
...
Capture from CAM 0 didn't work
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 cvNamedWindow, file /Users/kirill-kornyakov/Work/OpenCV/opencv/modules/highgui/src/window.cpp, line 483
libc++abi.dylib: terminate called throwing an exception
Abort trap: 6

At the same time everything works in the 2.4.6 release. But with the 2.4.6.1 release I don't see the window, but only a small piece of it. And again, in the latest version nothing works...

So, it seems we have some regression here. I'm going to check Git log and try to understand what went wrong.


Associated revisions

Revision 9a15c7a8
Added by Vadim Pisarevsky over 10 years ago

Merge pull request #3197 from asmorkalov:python_tests_package

History

Updated by Victor Kocheganov over 11 years ago

  • Status changed from New to Open

Updated by Asaf R over 11 years ago

+1 happens to me too.

-- Newbie

Updated by Kirill Kornyakov over 11 years ago

Fixed in the current 2.4 branch, it was something with CMake files (elif instead of elseif).

  • Status changed from Open to Done

Also available in: Atom PDF