I followed those instructions, and every other example on the net exactly, afterwards you can compile OpenCV applications, but the applications do not work, they give errors like "libstdc++-6.dll is missing"
...also, the instructions are not complete.....
......pkg-config is a free command-line tool (available on Windows, Mac and Linux) that should have been automatically setup correctly when you built OpenCV with CMake.....
How to build OpenCV with CMake? There are no instructions on how to do this, the instructions on OpenCV's site are Not for the newest version of 2.3.1, and they don't work anyway. I'm on day 2 of google searching, and I only find other frustrated people in the same position as I.
I have also completely read the install guide here....
http://opencv.willowgarage.com/wiki/InstallGuideANd it says.....
cd C:\OpenCV2.3 # the directory containing INSTALL, CMakeLists.txt etc.
mkdir release
cd release
cmake -D:CMAKE_BUILD_TYPE=RELEASE C:\OpenCV2.3
//Which does not work
ERROR: Your C compiler "cl" was not found
the C compiler identification is unknown
the CXX compiler identification is unknown
the error list goes ON and ON