Building OpenCV 3.1 errors [closed]

asked 2016-04-08 11:38:28 -0500

PRK23 gravatar image

I tried building opencv 3.1 according to this guide:


but while building in Visual Studio 2012 Express I always seem to get this same ERROR:

error C1083: Cannot open include file: 'numpy/ndarrayobject.h': No such file or directory A:\opencv_new\opencv\sources\modules\python\src2\cv2.cpp 10 1 opencv_python2

I tried for hours fiddling with the settings still no hope.

Any help will be great!

edit retag flag offensive reopen merge delete

Closed for the following reason not a real question by PRK23
close date 2016-04-08 23:43:17.538184


your numpy version is outdated, try to update it.

(did you even intend to build the cv2 python wrappers ?)

berak gravatar imageberak ( 2016-04-08 11:41:40 -0500 )edit

but I just installed it using pip

PRK23 gravatar imagePRK23 ( 2016-04-08 11:43:17 -0500 )edit

I have both Python 2.7.11 and Python 3.5.1

PRK23 gravatar imagePRK23 ( 2016-04-08 11:50:50 -0500 )edit