-
Notifications
You must be signed in to change notification settings - Fork 8
Closed
google/cargo-raze
#2Description
This is probably not a bug, just a case of you're holding it wrong, but building cgmath with the generated build files does not work. An issue with generated files from a build script, I presume. I have no idea how to debug and fix this though - could you add some documentation somewhere?
ERROR: /Users/hrapp/Desktop/Programming/rust/point_cloud_viewer/cargo/vendor/cgmath-0.16.0/BUILD:17:1: error executing shell command: 'set -e; rm -rf bazel-out/darwin-fastbuild/bin/cargo/vendor/cgmath-0.16.0/cgmath.deps; mkdir bazel-out/darwin-fastbuild/bin/cargo/vendor/cgmath-0.16.0/cgmath.deps
ln -sf ../../approx-0.1.1/libappro...' failed (Exit 101)
error: environment variable `OUT_DIR` not defined
--> cargo/vendor/cgmath-0.16.0/src/macros.rs:480:18
|
480 | include!(concat!(env!("OUT_DIR"), "/swizzle_operator_macro.rs"));
| ^^^^^^^^^^^^^^^
error: couldn't read "cargo/vendor/cgmath-0.16.0/src/0/swizzle_operator_macro.rs": No such file or directory (os error 2)
--> cargo/vendor/cgmath-0.16.0/src/macros.rs:480:1
|
480 | include!(concat!(env!("OUT_DIR"), "/swizzle_operator_macro.rs"));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INFO: Elapsed time: 3.149s, Critical Path: 2.99s
FAILED: Build did NOT complete successfully
Metadata
Metadata
Assignees
Labels
No labels