1.new a *.c file named drawing.c
2.g++ `pkg-config opencv --libs --cflags opencv` drawing.c -o drawing
notice : the difference between ' and `
1.new a *.c file named drawing.c
2.g++ `pkg-config opencv --libs --cflags opencv` drawing.c -o drawing
notice : the difference between ' and `
转载于:https://www.cnblogs.com/windmissing/archive/2012/04/15/2559842.html