1 Notes for the Debian OpenCV packages:
3 To compile code against OpenCV, use `pkg-config --cflags opencv`:
5 gcc `pkg-config --cflags opencv` -c code.c -o code.o
7 To link it afterwards, use `pkg-config --libs opencv`:
9 gcc code.o -o code `pkg-config --libs opencv` -lotherlibs
11 There is currently no way to exclude libcvaux or libhighgui from the
12 link process. I will talk with upstream about this.