rust-lua53: can't compile rust-lua on Windows
I ran into this problem while trying to reproduce issue #72 on Windows 7 64-bit.
I’m using the latest build:
rustc 1.12.1 (d4f39402a 2016-10-19)
cargo 0.13.0-nightly (109cb7c 2016-08-19)
I get the following error output:
Compiling lua v0.0.9
error: failed to run custom build command for `lua v0.0.9`
process didn't exit successfully: `C:\Source\lua-embed-test\luahost\target\debug\build\lua-0442ce095437a50b\build-script-build` (exit code: 101)
--- stdout
OPT_LEVEL = Some("0")
PROFILE = Some("debug")
TARGET = Some("x86_64-pc-windows-gnu")
debug=true opt-level=0
HOST = Some("x86_64-pc-windows-gnu")
TARGET = Some("x86_64-pc-windows-gnu")
TARGET = Some("x86_64-pc-windows-gnu")
HOST = Some("x86_64-pc-windows-gnu")
CC_x86_64-pc-windows-gnu = None
CC_x86_64_pc_windows_gnu = None
HOST_CC = None
CC = None
TARGET = Some("x86_64-pc-windows-gnu")
HOST = Some("x86_64-pc-windows-gnu")
CFLAGS_x86_64-pc-windows-gnu = None
CFLAGS_x86_64_pc_windows_gnu = None
HOST_CFLAGS = None
CFLAGS = None
--- stderr
thread 'main' panicked at 'Error: The system cannot find the file specified. (os error 2)', C:\Users\GK\.cargo\registry\src\github.com-1ecc6299db9ec823\lua-0.0.9\build.rs:145
About this issue
- Original URL
- State: open
- Created 8 years ago
- Comments: 15 (9 by maintainers)
Running
rustup-initwithin MSYS2 doesn’t actually install it into MSYS2. It still goes to%USERPROFILE%/.rustupand is perfectly accessible from the rest of the system.@SpaceManiac Thanks it worked! Managed to compile it both as a crate and as a dependency to other projects, and with the latest commit I can compile it on MSVC