Configure OpenCV in Visual C ++ 6.0

xiaoxiao2021-03-31  221

After installing OpenCV_B5A, open Visual C 6.0, in the Tools -> Directories option, Show Directories for Include Files, add

C: / Program Files / OpenCV / cv / includeC: / Program Files / OpenCV / cvaux / includeC: / Program Files / OpenCV / cxcore / includeC: / Program Files / OpenCV / otherlibs / highguiC: / Program Files / OpenCV / otherlibs / CVCAM / Include

Select Source Files to add

C: / Program Files / OpenCV / cv / srcC: / Program Files / OpenCV / cvaux / srcC: / Program Files / OpenCV / cxcore / srcC: / Program Files / OpenCV / otherlibs / highguiC: / Program Files / OpenCV / otherlibs / CVCAM / SRC / Windows

Select Library Files, add

C: / Program Files / OpenCV / LIB

In the Input option of Project Setting -> Link, add CV.lib cxcore.lib highgui.lib three library files (this step is reset for each new project, and the first three is not needed).

Finally, copy several dynamic link libraries under the C: / Program Files / OpenCV / BIN directory to the working directory or system directory. At all, all work is completed.

转载请注明原文地址:https://www.9cbs.com/read-131012.html

New Post(0)