Ask Your Question

Revision history [back]

It seems you are pointing to x64 libraries and building it as x86. What is the content of OPENCV_DIR variable? Simply type

set OPENCV_DIR

on your terminal. If it points to 64 libs, something like this D:\OpenCV\Build\x64\vc10
You should change it to x86, with a command like this:

set OPENCV_DIR=D:\OpenCV\Build\x86\vc10

(this will only work for this session) or maybe

setx -m OPENCV_DIR D:\OpenCV\Build\x86\vc10

as super user (open command prompt with administrator capabilities).

I guess this should solve your problem.

Kind regards, Daniel