Skip to content

iui = "0.3" in toml - not work, require git folder. Git method - work. #109

@Zymlex

Description

@Zymlex

Windows Server 2019

error: failed to run custom build command for `ui-sys v0.1.3`
Caused by:
  process didn't exit successfully: `D:\Projects\Test\target\debug\build\ui-sys-54eef348477f7dd2\build-script-build` (exit code: 101)
  --- stdout
  git version 2.30.0.windows.1
  running: "cmake" "D:\\Rust\\cargo\\registry\\src\\g.yxqyang.asia-1ecc6299db9ec823\\ui-sys-0.1.3\\libui" "-G" "Visual Studio 16 2019" "-Thost=x64" "-Ax64" "-DCMAKE_INSTALL_PREFIX=D:\\Projects\\Test\\target\\debug\\build\\ui-sys-9f5ae8adb4cc987e\\out" "-DCMAKE_C_FLAGS= -nologo -MD -Brepro" "-DCMAKE_C_FLAGS_RELEASE= -nologo -MD -Brepro" "-DCMAKE_CXX_FLAGS= -nologo -MD -Brepro" "-DCMAKE_CXX_FLAGS_RELEASE= -nologo -MD -Brepro" "-DCMAKE_ASM_FLAGS= -nologo -MD -Brepro" "-DCMAKE_ASM_FLAGS_RELEASE= -nologo -MD -Brepro" "-DCMAKE_BUILD_TYPE=release"
  --- stderr
  fatal: not a git repository (or any of the parent directories): .git
  thread 'main' panicked at '
  failed to execute command: The system cannot find the file specified. (os error 2)
  is `cmake` not installed?
  build script failed, must exit now', D:\Rust\cargo\registry\src\g.yxqyang.asia-1ecc6299db9ec823\cmake-0.1.45\src\lib.rs:894:5
  stack backtrace:
     0: std::panicking::begin_panic_handler
               at /rustc/e38fb306b7f5e65cca34df2dab1f0db15e1defb4\/library\std\src\panicking.rs:493
     1: std::panicking::begin_panic_fmt
               at /rustc/e38fb306b7f5e65cca34df2dab1f0db15e1defb4\/library\std\src\panicking.rs:435
     2: cmake::fail
               at D:\Rust\cargo\registry\src\g.yxqyang.asia-1ecc6299db9ec823\cmake-0.1.45\src\lib.rs:894
     3: cmake::run
               at D:\Rust\cargo\registry\src\g.yxqyang.asia-1ecc6299db9ec823\cmake-0.1.45\src\lib.rs:864
     4: cmake::Config::build
               at D:\Rust\cargo\registry\src\g.yxqyang.asia-1ecc6299db9ec823\cmake-0.1.45\src\lib.rs:707
     5: build_script_build::main
               at .\build.rs:35
     6: core::ops::function::FnOnce::call_once<fn(),tuple<>>
               at D:\Rust\rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\library\core\src\ops\function.rs:227
  note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
warning: build failed, waiting for other jobs to finish...
error: build failed
Process finished with exit code 101

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions