Page MenuHomePhabricator

OpenCV Python can't be build with C++11 support
Closed, InvalidPublic

Description

When building OpenCV Python with C++11 support a compiler error occurs when in cv2.cpp:236 :

double v[] = {PyInt_AsLong((PyObject*)o), 0., 0.,0.}

If the value is cast to double everything works fine. This could be fixed with a small patch.

Event Timeline

kislinsk changed the task status from Invalid to Spite.Jun 27 2018, 1:29 PM
kislinsk added a project: Bulk Edit.
kislinsk changed the task status from Spite to Invalid.Jun 27 2018, 1:36 PM
kislinsk removed a project: Bulk Edit.