[英]How can I install MinGW-w64 on windows 10?
Can't install MinGW-w64 on my operating system(windows 10).无法在我的操作系统 (windows 10) 上安装 MinGW-w64。 The new MinGW-w64 version doesn't come with a bin folder.新的 MinGW-w64 版本没有附带 bin 文件夹。 Please i need help using the compiler.请使用编译器我需要帮助。
A Little late.有一点晚。 For Windows 10/11.对于 Windows 10/11。
go to GitHub repository: https://github.com/niXman/mingw-builds-binaries/releases go 到 GitHub 存储库: https://github.com/niXman/mingw-builds-binaries/releases
choose what you need and download: https://github.com/niXman/mingw-builds-binaries/releases/download/12.2.0-rt_v10-rev2/x86_64-12.2.0-release-posix-seh-msvcrt-rt_v10-rev2.7z选择你需要的并下载: https://github.com/niXman/mingw-builds-binaries/releases/download/12.2.0-rt_v10-rev2/x86_64-12.2.0-release-posix-seh-msvcrt-rt_v10 -rev2.7z
unzip and copy the repository.解压缩并复制存储库。 3.1 Make a directory where you want it installed eg: C:\MinGW64
3.2 Copy all the directories inside unzipped "mingw64" to C:\MinGW64
3.1 创建一个你想要安装的目录 eg: C:\MinGW64
3.2 将解压后的“mingw64”中的所有目录复制到C:\MinGW64
Add the environment variable Path.添加环境变量路径。 4.1 Windows Search type "Environment Variables" Environment Variables / System variables Click in "Path" and select edit Click New and Put the route to Bin eg: "C:\MinGW64\bin"
-> Click OK. 4.1 Windows Search type "Environment Variables" Environment Variables / System variables 点击“Path” select edit 点击New 把路径放到Bin eg: "C:\MinGW64\bin"
-> 点击OK。
Test if everything are ok, CMD: C:\\{some_path}\gcc.exe --version
测试是否一切正常,CMD: C:\\{some_path}\gcc.exe --version
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.