i'm trying to use OpenCV for Java Desktop(Available since 02/15/2013) to do a simple face recognition project(for study purposes), and i'm having a problem to build the OpenCV in Windows.
I'm following this tutorial ,
and i got stuck in the build part, where you need to generate a Makefile.
I executed the command below(as the tutorial says):
cmake -DBUILD_SHARED_LIBS=OFF
and got the following error:
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: cl
Build flags:
Id flags:
The output was:
O sistema n?o pode encontrar o arquivo especificado(System couldn't find the specified file).
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: cl
Build flags:
Id flags: -c
The output was:
O sistema n?o pode encontrar o arquivo especificado(System couldn't find the specified file)
Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: cl
Build flags:
Id flags:
The output was:
O sistema n?o pode encontrar o arquivo especificado(System couldn't find the specified file).
Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: cl
Build flags:
Id flags: -c
The output was:
O sistema n?o pode encontrar o arquivo especificado(System couldn't find the specified file).
Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: cl
Build flags:
Id flags: -Aa
The output was:
O sistema n?o pode encontrar o arquivo especificado(System couldn't find the specified file).
Determining if the CXX compiler works failed with the following output:
I'm a newbie in C, but i think it might be a problem with my compiler, i have MinGW installed, but i don't know how to specify to CMake where he is.
I also tried to run the CMake GUI, but it returned the same error.
Thanks in advance.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…