Build fails on Mac OS X 10.10 Yosemite Beta due to highgui/src/window_cocoa.mm (Bug #3737)
Description
It gives an error at <opencv_src_dir>/modules/highgui/src/window_cocoa.mm at line 153. It cannot assign setActivationPolicy to an "int".
153: [application setActivationPolicy:0 /*NSApplicationActivationPolicyRegular*/];
changing the line to
153: [application setActivationPolicy:NSApplicationActivationPolicyRegular];
solved the problem for me but I am not sure it is the right fix.
History
Updated by Ilya Lavrenov almost 11 years ago
Hi Zafer, thanks for the report. Could you create a PR with this patch?
Updated by Mike Maraya over 10 years ago
Fixed! Pull request is in https://github.com/Itseez/opencv/pull/2908.
- Status changed from New to Done
- % Done changed from 0 to 100
Updated by Denis Gottardello about 10 years ago
I have the same problem with all OpenCV releases.
Can you exmplain better how can I apploy the patch?