opencv python build error
Hello,
I'm trying to build opencv 3 from source(I'm using VS 2013 and compiling for 32bit) so that I can play with feature detection stuff in OPENCV_EXTRA_MODULES with python. My python version is 2.7.5. Everything builds fine except pyopencv_generated. Here's the error log from visual studio. I'm getting vector_Rect2d and boundingBox undeclared identifier errors. VS reports 23 errors in total. All of them can be seen in the screenshot.
Here's the relevant CMAKE screenshot.
Everything else seems to be working OK except this and this is the part that I need unfortunately. Any suggestions? What should I do?
Hi, I have no solution for you just more questions. For python extensions like cv2.pyd aren't you supposed to use the same compiler as the python executable? Since your is python27 it would be VS2008. (The python interpreter would says so at startup). you should build using VS2008 then I would think. This is a question I raised here but nobody answered - http://answers.opencv.org/question/80...