내가 cmake를 사용하여 내가 GitHub의에서 가져온 몇 가지 코드를 구축을 위해 노력하지만, 다음 오류가 계속있어 발견하지 :닌자 CMake
CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER
CMake Error: Could not find cmake module file:/golang/project/src/github.com/devsisters/goquic/libquic/build/debug/CMakeFiles/2.8.11/CMakeCCompiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER
CMake Error: Could not find cmake module file:/golang/project/src/github.com/devsisters/goquic/libquic/build/debug/CMakeFiles/2.8.11/CMakeCXXCompiler.cmake
-- Configuring incomplete, errors occurred!
사람이 얼마나 올바르게 이러한 변수를 설정하는 방법을 말해 줄래? 감사.
github 코드와 함께 제공된 ./build_libs.sh 파일을 사용하여이를 빌드합니다.
그래서, ** 어떤 시스템을 ** 당신은 CMake와 함께 사용하고 싶습니까? 닌자? 아니면 Makefile? – Tsyvarev
파일을 만들 ninja를 다운로드했습니다. – user3871995
사용할 빌드 시스템을 어떻게 설정할 수 있습니까? 나도 makefile을 가지고 있고 그들 중 하나를 사용할 수있다 – user3871995