c++ - LNK1104: Cannot Open File "\include.obj" - OpenCV -
i'm new open cv. i've used 3.2.0 version , visual studio 15.
i've followed same installation procedures recommended online.
so i'm trying run image threshold tutorial (http://docs.opencv.org/2.4/doc/tutorials/imgproc/threshold/threshold.html) , when build above error.
i'm bit lost in debugging , can't find similar error this. have added pictures setup here check if there errors in setup. current linker setup
it seems project settings not set properly.
first, check include directories in section
configuration properties->c/c++->general->additionals include directories
than, linking
configuration properties->linker->general->additionals library directories
refer opencv documentation details , similar questions (like this or this) more detailed answers , values of settings.
update:
i have looked @ picture referenced in question. , found value $(opencv_root)\include
in section additional dependencies
, while value section additionals include directories
... dependencies lib
files, ...\lib\opencv_world320d.lib
.
so check once again value of additionals include directories
in general
sections c/c++
, make sure environment variable opencv_root
has right value (together \include
makes folder sub-folders opencv
, opencv2
located.
Comments
Post a Comment