1 | initial version |
I had this problem when I was trying to build 64-bit cv2.pyd with VS2010 and Python 2.7. Turned out I was linking against 32-bit python27.lib instead of the 64-bit. I changed the cmake settings and specified the path to the 64-bit python library in cmake GUI. Then the errors were resolved.