error LNK2038: mismatch detected for ‘RuntimeLibrary’: value ‘MTd_StaticDebug’ doesn’t match value ‘

I see all kinds of solutions on the web, but my reason is to add extra libraries.
Removing the following libraries from the configuration solves the problem. In fact, opencV3.0 configuration becomes as simple as adding these two libraries
opencv_ts300d.lib
opencv_world300d.lib

These libraries do not have to be added.
IlmImfd.lib libjasperd.lib

libjpegd.lib

libpngd.lib

libtiffd.lib

libwebpd.lib

opencv_calib3d300d.lib

opencv_core300d.lib

opencv_features2d300d.lib

opencv_flann300d.lib

opencv_highgui300d.lib

opencv_imgcodecs300d.lib

opencv_imgproc300d.lib

opencv_ml300d.lib

opencv_objdetect300d.lib

opencv_photo300d.lib

opencv_shape300d.lib

opencv_stitching300d.lib

opencv_superres300d.lib

opencv_video300d.lib

opencv_videoio300d.lib

opencv_videostab300d.lib

zlibd.lib

Read More: