I think try it.
If it doesn't work, the OpenCV Install Guide says:
C/C++ compiler (OpenCV is known to work with VS2005, VS2008, including Express Editions, and MinGW on Windows, GCC 4.x on Linux, MacOSX and other Unix-like systems).
JeremyP
2010-06-07 12:46:22