I know this question is all over the place, but still the magic stick of adding the library directories to the project properties is not working for me.
Unfortunately that solution did not work for me. For those in a similar situation:
It can work by adding as additional dependencies(Linker -> Input -> Additional Dependencies:) only those libraries located in my $(OPENCV_DIR)\lib folder. Namely: opencv_ts300d.lib;opencv_world300d.lib.