make: /usr/local/bin/cmake: Command not found
时间: 2023-06-30 12:23:00 浏览: 210
The error message "make: /usr/local/bin/cmake: Command not found" indicates that the "cmake" command is not installed on your system or it is not included in your system's PATH environment variable.
To resolve this issue, you can try installing CMake using a package manager like apt-get or brew, depending on the operating system you are using. For example, on Ubuntu, you can run the following command to install CMake:
```
sudo apt-get install cmake
```
If CMake is already installed but not included in your PATH, you can add it by adding the following line to your .bashrc or .bash_profile file:
```
export PATH="/usr/local/bin:$PATH"
```
After adding this line, you will need to close and reopen your terminal for the changes to take effect.
阅读全文