Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

in your project, go to

[Project(P)] -> [ (your project name) property ] -> [VC++ Directories]

you would see something like: https://docs.microsoft.com/en-us/cpp/build/reference/vcpp-directories-property-page?view=vs-2019

add the path of "include" folder of openCV to [Include Directories]

add the path of " *.lib " folder of openCV (Maybe in /opencv/build/x64/vc15/lib/) to [Library Directories]

then go to [Linker] in the [ (your project name) property ]

add the lib name to [Linker] -> [Input] -> [Additional Dependencies] (Matbe opencv_world411.lib)

then go to the computer and add the folder of *.dll (Maybe /opencv/build/x64/vc15/bin/) to the environment variables path

in your project, go to

[Project(P)] -> [ (your project name) property ] -> [VC++ Directories]

you would see something like: https://docs.microsoft.com/en-us/cpp/build/reference/vcpp-directories-property-page?view=vs-2019

add the path of "include" folder of openCV to [Include Directories]

add the path of " *.lib " folder of openCV (Maybe in /opencv/build/x64/vc15/lib/) to [Library Directories]

then go to [Linker] in the [ (your project name) property ]

add the lib name to [Linker] -> [Input] -> [Additional Dependencies] (Matbe (Maybe opencv_world411.lib)

then go to the computer and add the folder of *.dll (Maybe /opencv/build/x64/vc15/bin/) to the environment variables path path