--- stdout
cargo:rerun-if-changed=proto/wcf.proto
cargo:rerun-if-changed=.
--- stderr
thread 'main' panicked at 'Could not find protoc installation and this build crate cannot proceed without
this knowledge. If protoc is installed and this crate had trouble finding
it, you can set the PROTOC environment variable with the specific path to your
installed protoc binary.You can download it from https://github.com/protocolbuffers/protobuf/releases or from your package manager.
For more information: https://docs.rs/prost-build/#sourcing-protoc
编译这个项目的rust版本,一直提示
--- stdout cargo:rerun-if-changed=proto/wcf.proto cargo:rerun-if-changed=. --- stderr thread 'main' panicked at 'Could not find
protoc
installation and this build crate cannot proceed without this knowledge. Ifprotoc
is installed and this crate had trouble finding it, you can set thePROTOC
environment variable with the specific path to your installedprotoc
binary.You can download it from https://github.com/protocolbuffers/protobuf/releases or from your package manager. For more information: https://docs.rs/prost-build/#sourcing-protocwindows已经安装了基本环境,rust也加入了protobuf的引用,但还是提示这个,请问你是怎么编译的呀