Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

building opencv-python with visual studio 2010sp 1

I built opencv 2.4 from sources, but after installation i can't access it from python.

Import cv2 fails with error:

ImportError: DLL load failed: The specified module could not be found.

I found that my cv2.pyd has size about 1 mb, while cv2.pyd from opencv installer has size about 9 mb.

i run cmake with this argument:

cmake -D CMAKE_BUILD_TYPE=RELEASE ..

compiling with vs 2010sp1 on windows 7x64 for 32bit version of python2.7

Thanks