How to Compile Opencv Program

How to Compile Opencv Program
Linux:
g++ hello-world.cpp -o hello-world \
-I /usr/local/include/opencv -L /usr/local/lib \
-lm -lcv -lhighgui -lcvaux

Windows:
In the project preferences set the path to the OpenCV header files and
the path to the OpenCV library files.

No comments:

 
Top Blogs