Open SeanGuoXuan opened 6 years ago
I think I figure out the resaon: build.rs is looking for '.git' file as a sign of root dir. However, I download the repro so there is no git file.
while !path.join(".git").exists() { path = path.parent().unwrap(); }
That is the likely reason. Would you provide a fix?
then recompile
I fail to build SDL client at step 3: cargo build --release. I got the following error msg:
cargo build --release Compiling point_viewer_grpc_proto_rust v0.1.0 (file:///home/sean/sean/cartographer_ws/point_cloud_viewer-master/point_viewer_grpc_proto_rust) Compiling collision v0.18.0 error: failed to run custom build command for
point_viewer_grpc_proto_rust v0.1.0 (file:///home/sean/sean/cartographer_ws/point_cloud_viewer-master/point_viewer_grpc_proto_rust)
process didn't exit successfully:/home/sean/sean/cartographer_ws/point_cloud_viewer-master/target/release/build/point_viewer_grpc_proto_rust-d13b2a85d9c9c3b2/build-script-build
(exit code: 101) --- stdout cargo:rerun-if-changed=point_viewer_proto_rust/src/proto.proto --- stderr thread 'main' panicked at 'calledOption::unwrap()
on aNone
value', libcore/option.rs:335:21 note: Run withRUST_BACKTRACE=1
for a backtrace. warning: build failed, waiting for other jobs to finish... error: build failedBefore building sdl client, I have already installed "rust gRPC protobuf plugin". Under "${HOME}/.cargo/bin", I do see grpc_rust_plugin. Also, PATH variable has "/home/sean/.cargo/bin" section. Can someone give help on my issue?