compiling openCV 2.4.5 under VS 2012 x64
I just downloaded OpenCV 2.4.5 for Windows and tried to compile it using CMake 2.8.10.2 (GUI), but I get the following error when configuring cmake:
The CXX compiler identification is unknown
The C compiler identification is unknown
CMake Error at CMakeLists.txt:69 (message):
CMake fails to deterimine the bitness of target platform.
Please check your CMake and compiler installation. If you are crosscompiling then ensure that your CMake toolchain file correctly sets the compiler details.
Configuring incomplete, errors occurred!
I chose Visual Studio 11 Win64 compiler, but the same happens to other compilers. And I had the same error with 2.4.4. What can I do?