Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

compiling openCV cpp files in matlab with mex

dear all i want to to compile a cpp file which uses OpenCV library with mex (in matlab) and with gcc compiler. i'm a windows user and already installed minGW in my windows 7 system. the command in linux was :

mex -O FaceDetect.cpp -I/usr/local/include/opencv -L/usr/local/lib -lcxcore -lcv -lcvaux

what is the equivalent command in windows ? thanks in advance.