Cygwin运行提示Cmake error
[待解决]在windows上运行Cygwin64 Terminal时出现错误Cmake error
因为需要在windows上运行百度音频切割的程序speech-vad-demo,所以在Cygwin64 Terminal上运行如下指令时提示如下错误:
zhou_p@DST69460 /cygdrive/f/Ctrip/speech/speech-vad-demo-master/speech-vad-demo-master
$ sh build_and_run.sh
gcc (GCC) 7.3.0
cmake version 3.3.2
CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". 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: /cygdrive/f/Ctrip/speech/speech-vad-demo-master/speech-vad-demo-master/build/CMakeFiles/3.3.2/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: /cygdrive/f/Ctrip/speech/speech-vad-demo-master/speech-vad-demo-master/build/CMakeFiles/3.3.2/CMakeCXXCompiler.cmake
CMake Error at CMakeLists.txt:3 (project):
No CMAKE_C_COMPILER could be found.
Tell CMake where to find the compiler by setting the CMake cache entry
CMAKE_C_COMPILER to the full path to the compiler, or to the compiler name
if it is in the PATH.
CMake Error at CMakeLists.txt:3 (project):
No CMAKE_CXX_COMPILER could be found.
Tell CMake where to find the compiler by setting the CMake cache entry
CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler
name if it is in the PATH.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
build_and_run.sh:行22: make: 未找到命令
查阅相关资料,可能是这篇博客Windows下配置cygwin/cmake所说的原因,之后试试看,猜测可能是需要重装cygwin了。
851

被折叠的 条评论
为什么被折叠?



