gmake:***没有规则可以建立目标(在gitbash上安装cmake,没有makefile)

时间:2019-09-30 09:55:18

标签: c++11 makefile cmake shiny

我想在gitbash(Windows 10)上安装cmake,因为我需要它来运行Shiny-server。 https://github.com/rstudio/shiny-server/wiki/Building-Shiny-Server-from-Source#what-if-a-sufficiently-recent-version-of-cmake-isnt-available

运行./configure时,出现以下错误

*CMake 3.15.2, Copyright 2000-2019 Kitware, Inc. and Contributors
C compiler on this system is: tcc
C++ compiler on this system is: C:\MinGW\bin\g++.exe C:\MinGW\bin\g++.exe
Makefile processor on this system is: gmake
C:\MinGW\bin\g++.exe has setenv
C:\MinGW\bin\g++.exe has unsetenv
C:\MinGW\bin\g++.exe has environ in stdlib.h
C:\MinGW\bin\g++.exe has stl wstring
C:\MinGW\bin\g++.exe has <ext/stdio_filebuf.h>
---------------------------------------------
gmake: *** No rule to make target '/c/Users/../cmake-3.15.2/Source/cmAddCustomCommandCommand.cxx', neededby 'cmAddCustomCommandCommand.o'.  Stop.
---------------------------------------------
Error when bootstrapping CMake:
Problem while running gmake*

我知道问题源于我没有makefile,但是gnumake-windows不拥有makefile。

能否请您告诉我如何解决此问题,或者如何在Windows上安装cmake,或者如何在Windows上运行Shiny-server?

非常感谢

0 个答案:

没有答案