MDd and MTd link errors when using QT and OpenCV under Windows VS12 LNK2038

asked 2014-11-11 12:04:38 -0600

wolfram79 gravatar image

I'm trying to compile a project that I have written on Mac using QT and OpenCV3 on Windows.

I'm failing in the Link step - LNK2038 : mismatch detected for 'RuntimeLibrary' MTd_StaticDebug != MDd_DynamicDebug

Both BOOST and QT have issues when you do not use "dynamic C run time library " if I understand the respective documentations correct.

I can start compiling OpenCV on my Windows machine now, but last time I did that on mac i needed half a day to configure it correctly...

Is there a way I can get OpenCV precompiled with /MDd ? I'm sure a lot of people use OpenCV with BOOST Unit testing and QT, so everyone would be lost with the supplied download, or am I missing a point here?

Sincerely,

Wolfram

edit retag flag offensive close merge delete