1 | initial version |
The answer you're looking for is don't use opencv_world300d.lib or .dll once you build your library. Instead, use the libraries compiled in your \lib\Debug directory, and add to your path the \bin\Debug so your program can access the dlls. Add to your project either the libs you require, or just put them all in:
opencv_calib3d300d.lib opencv_core300d.lib opencv_features2d300d.lib opencv_flann300d.lib opencv_hal300d.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_ts300d.lib opencv_video300d.lib opencv_videoio300d.lib opencv_videostab300d.lib opencv_viz300d.lib
(you may have more or less depending on what you added to your build). Point is, you DON'T use opencv_world300d.lib/dll if you compile it yourself, you use the individual ones above. Hope this helps.