Sie sind auf Seite 1von 5

Integrating OpenCV and DEV C++

1.) After installing OpenCV and Dev C++, open Dev C++.
2.) In Dev-C++ open the menu "Tools->Compiler options".

3.) In the first tab("Compiler") you need to check the box "Add these commands to the linker command line". 4.) type the following line in the text bow below: -lhighgui -lcv -lcxcore -lcvaux

5.) Go to the sub-tab "Libraries" in the tab "Directories" and add there
C:\Program Files\OpenCV\lib to the paths:

6.) Now switch to the sub-tabs "C Includes" and "C++ Includes" and add these paths: C:\Program C:\Program C:\Program C:\Program Files\OpenCV\cxcore\include Files\OpenCV\cv\include Files\OpenCV\otherlibs\highgui Files\OpenCV\cvaux\include

Das könnte Ihnen auch gefallen