Rust编译报错:error: linker `cc` not found

   Compiling ceshi v0.1.0 (/home/jia/ceshi)
error: linker `cc` not found
  |
  = note: No such file or directory (os error 2)

error: could not compile `ceshi` due to previous error

在终端执行以下命令:

sudo apt update
sudo apt install build-essential

猜你喜欢

转载自blog.csdn.net/love906897406/article/details/126070786