I'm using Visual Studio 2015 Ultimate Preview
and OpenCV 3.0 Alpha
on windows 7 64bit. The project in VS
is 32bit console application. I'm getting a linking error when I try to build a simple example just reading in an image in a Mat
type.
The errors are looking like:
1>opencv_core300d.lib(alloc.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1800' doesn't match value '1900' in solver.obj
1>opencv_core300d.lib(alloc.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in solver.obj
After Googleing the issue, I learned that I have to recompile the OpenCV library in order to be linked with my project.
How can I do that? I can't find a makefile
in opencv
to import in VS
and recompile from there. what is the solution?