dsgdhtr_43654
dsgdhtr_43654
采纳率100%
2016-04-21 13:13

求助:MINGW 64 运行 “makeBuild”报错

已采纳

Windows 10系统上,我想在MINGW 64中运行一个“makeBuild”,但是出现了以下错误:

$ make build
bash: make: command not found

我想构建 Glide for Golang

我试过这样做:

$ sudo yum install build-essential
bash: sudo: command not found

还有这样做:

$ yum install build-essential
bash: yum: command not found

以及:

$ apt-cyg build-essential
bash: apt-cyg: command not found

我怎么“解决”这个问题?

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

3条回答

  • doujing2497 doujing2497 5年前

    You have to install mingw-get and after that you can run mingw-get install msys-make to have the command make available.

    Here is a link for what you want http://www.mingw.org/wiki/getting_started

    点赞 评论 复制链接分享
  • dpyln64620 dpyln64620 2年前

    Try using cmake itself. In the build directory, run:

    cmake --build .

    点赞 评论 复制链接分享
  • doukun8944 doukun8944 4年前
    • Go to ezwinports, https://sourceforge.net/projects/ezwinports/files/

    • Download make-4.2.1-without-guile-w32-bin.zip (get the version without guile)

    • Extract zip
    • Copy the contents to C:\ProgramFiles\Git\mingw64\ merging the folders, but do NOT overwrite/replace any exisiting files.
    点赞 评论 复制链接分享

相关推荐