2012-05-22 2 views
1

cmake를 사용하여 Nmake 대신 MingW를 사용하는 방법 ???cygwin을 사용하여 Nmake에서 MinGW로 전환

나는 Cygwin에서와 Mingw, GCC, g ++과 설치, 그리고이 명령 할 때 GDB는 윈도우 7 64

에 설치 :

:

cmake 

을 나는이 포함 된 긴 오류

-- Building for: NMake Makefiles 
-- The C compiler identification is unknown 
-- The CXX compiler identification is unknown 
CMake Error: your RC compiler: "CMAKE_RC_COMPILER-NOTFOUND" was not found. Ple 
ase set CMAKE_RC_COMPILER to a valid compiler path or name. 
-- Check for CL compiler version 
-- Check for CL compiler version - failed 
-- Check if this is a free VC compiler 
-- Check if this is a free VC compiler - yes 
-- Using FREE VC TOOLS, NO DEBUG available 
-- Check for working C compiler: cl 

    CMake will not be able to correctly generate this project. 
Call Stack (most recent call first): 



CMake Error: your C compiler: "cl" was not found. Please set CMAKE_C_COMPILER 
to a valid compiler path or name. 
CMake Error: your CXX compiler: "cl" was not found. Please set CMAKE_CXX_COMPI 
LER to a valid compiler path or name. 
-- Configuring incomplete, errors occurred! 

답변

0

당신은 선택해야

MinGW Makefile. gcc 경로에없는 경우

, 당신은

이 바이너리를 컴파일러 경로를 가리 키도록 네이티브 컴파일러

를 지정 선택해야합니다.

관련 문제