Solve the error [closed]
I'm getting the following error,
Error 100 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in webcam_face_pose_ex.obj D:\Ram\Projects\DLibCameraStream\dlib-19.0\examples\build\IlmImfd.lib(ImfFloatAttribute.obj) webcam_face_pose_ex
How can I solve it.
Basically your libs were build dynamically with the
/Md
option, while you are truing to access them through a static build using the/Mt
option. Either build your code also dynamically or rebuild OpenCV from scratch as a static library.For my project in visual studio, Multi-threaded Debug (/MTd) is set. So | am compiling with /MTd option.
I changed the Code Generation option to Multi-threaded DLL (/MD). I'm still getting the same error.
all of this is unrelated to opencv