opencv_highgui249.lib(opencv_highgui249.dll) : fatal error LNK1112
I am trying to compile a simple opencv project from windows 7 64 bit OS. I am facing the following error: opencv_highgui249.lib(opencv_highgui249.dll) : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'
In project properties , in Linker I put additional Library dependencies: E:...\opencv\build\x64\vc10\lib; and add all necessary libs in input-> Additional Dependencies. However, I ve got the avobe error.