2008年8月8日金曜日

compiling openCV code with mingw

g++ %1.cpp -o %1.exe -I"C:\Program Files\OpenCV\cv\include" -I"C:\Program Files\OpenCV\cxcore\include" -I"C:\Program Files\OpenCV\otherlibs\highgui" "C:\Program Files\OpenCV\lib\cxcore.lib" "C:\Program Files\OpenCV\lib\cv.lib" "C:\Program Files\OpenCV\lib\highgui.lib"

0 件のコメント: