libui-rs: Trying to `cargo build` fails on `ui-sys`
Doing: cargo build causes following error on Windows 7 (64bit) and Rust 1.24.
_Compiling ui-sys v0.1.1
error: failed to run custom build command for ui-sys v0.1.1
— stderr fatal: Not a git repository (or any of the parent directories): .git thread ‘main’ panicked at '_
The trace leads to: 10: build_script_build::main at .\build.rs:15
If I initialise a git-repo inside the folder, it just keeps the same error-trace but no actual mentioning of a fatal error.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 18 (7 by maintainers)
I tried the example app and this time it built iui-sys 0.1.3 and iui 0.3.0 worked fine (Win-7-64, Rust 1.26.2). I’ll now start trying it out properly.
I got the same problem on Windows 7-64-bit and Rust 1.25. I installed cmake-3.11.1 64-bit & I copied & pasted the example code into a new --bin project’s src/main.rs and added
iui = "0.2"to the Cargo.toml dependencies. Then I rancargo run --release. The output was: