You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Doing cargo run --release in the directory /home/rubic/dir with space oh no/shaderc-rs
Results in this compile error.
97%] Building CXX object shaderc/glslc/CMakeFiles/glslc.dir/src/dependency_info.cc.o
[ 97%] Built target shaderc_shared
[ 98%] Linking CXX executable shaderc-online-compile
[ 98%] Built target shaderc-online-compile
[ 98%] Linking CXX static library libglslc.a
[ 98%] Built target glslc
--- stderr
usr/bin/ar: /home/rubic/dir: No such file or directory
make[2]: *** [shaderc/libshaderc/CMakeFiles/shaderc_combined_genfile.dir/build.make:69: shaderc/libshaderc/libshaderc_combined.a] Error 9
make[1]: *** [CMakeFiles/Makefile2:2984: shaderc/libshaderc/CMakeFiles/shaderc_combined_genfile.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:130: all] Error 2
thread 'main' panicked at '
command did not execute successfully, got: exit code: 2
build script failed, must exit now', /home/rubic/.cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.33/src/lib.rs:773:5
stack backtrace:
6: std::panicking::begin_panic_fmt
at libstd/panicking.rs:346
7: cmake::fail
8: cmake::run
9: cmake::Config::build
10: build_script_build::main
This is the important line: usr/bin/ar: /home/rubic/dir: No such file or directory
The path given to ar should be escaped.
The text was updated successfully, but these errors were encountered:
rukai
changed the title
Fails to build in a directory that has spaces in the name or a parent directory has spaces in the name.
Fails to build in a directory that has a parent directory with spaces in the name
Nov 19, 2018
Initially reported here: https://www.reddit.com/r/rust/comments/9ye5s8/vulkano_fails_to_compile_after_implementing/
Doing
cargo run --release
in the directory/home/rubic/dir with space oh no/shaderc-rs
Results in this compile error.
This is the important line:
usr/bin/ar: /home/rubic/dir: No such file or directory
The path given to ar should be escaped.
The text was updated successfully, but these errors were encountered: