报错mingw-w64-build: command not found
时间: 2023-08-02 13:09:14 浏览: 158
The error "mingw-w64-build: command not found" typically indicates that the mingw-w64-build command is not installed on your system or it is not in the PATH environment variable.
To fix this issue, you can try the following steps:
1. Install mingw-w64-build: If mingw-w64-build is not installed on your system, you can install it using a package manager such as apt-get or yum. For example, on Ubuntu, you can use the following command to install it:
```
sudo apt-get install mingw-w64-tools
```
2. Add mingw-w64-build to PATH: If mingw-w64-build is installed, but the command is still not recognized, you may need to add the directory containing the mingw-w64-build executable to your PATH environment variable. You can do this by adding the following line to your shell profile file (e.g., ~/.bashrc, ~/.zshrc):
```
export PATH=$PATH:/path/to/mingw-w64-build
```
Make sure to replace "/path/to/mingw-w64-build" with the actual path to the directory containing the mingw-w64-build executable.
After following these steps, try running the mingw-w64-build command again to see if the issue has been resolved.
阅读全文