chettoy / apexsky

https://apex.chettoy.com
GNU General Public License v3.0
146 stars 81 forks source link

Compilation failed #127

Closed Aleapord closed 5 months ago

Aleapord commented 5 months ago

When I compiled according to the readme, it reported an error Compiling intptr v0.1.6 Compiling bitset-core v0.1.1 Compiling named_constants v0.2.0 error: failed to run custom build command forapexsky_proto v0.1.0 (/home/z/apexsky/apexsky/apexsky_proto)`

Caused by: process didn't exit successfully: /home/z/apexsky/apexsky/target/release/build/apexsky_proto-a62866bccf1123a5/build-script-build (exit status: 101) --- stdout cargo:rerun-if-changed=proto/com/chettoy/apexsky/apexlegends/aimbot.proto cargo:rerun-if-changed=proto/com/chettoy/apexsky/apexlegends/esp_data.proto cargo:rerun-if-changed=proto/com/chettoy/apexsky/apexlegends/player.proto cargo:rerun-if-changed=proto/com/chettoy/apexsky/apexlegends/spectator.proto cargo:rerun-if-changed=proto/com/chettoy/apexsky/esp/esp_service.proto cargo:rerun-if-changed=proto

--- stderr thread 'main' panicked at apexsky_proto/build.rs:16:10: called Result::unwrap() on an Err value: Custom { kind: Other, error: "protoc failed: com/chettoy/apexsky/esp/esp_service.proto:12:1: warning: Import com/chettoy/apexsky/apexlegends/spectator.proto is unused.\ncom/chettoy/apexsky/apexlegends/esp_data.proto: This file contains proto3 optional fields, but --experimental_allow_proto3_optional was not set.\n" } note: run with RUST_BACKTRACE=1 environment variable to display a backtrace warning: build failed, waiting for other jobs to finish... `

chettoy commented 5 months ago

Your protoc is old. Install the up-to-date protobuf compiler.