Skip to content

Cmake issue when building iui v 0.3.0 on windows 8.1 #120

@mhamedGd

Description

@mhamedGd

Compiling ui-sys v0.1.3
error: failed to run custom build command for ui-sys v0.1.3

Caused by:
process didn't exit successfully: C:\Users\intel\Desktop\Rust_Projects\guessing-game\target\debug\build\ui-sys-1a90a5063783f1a4\build-script-build (exit code: 101)
--- stdout
git version 2.37.1.windows.1
CMAKE_TOOLCHAIN_FILE_x86_64-pc-windows-msvc = None
CMAKE_TOOLCHAIN_FILE_x86_64_pc_windows_msvc = None
HOST_CMAKE_TOOLCHAIN_FILE = None
CMAKE_TOOLCHAIN_FILE = None
CMAKE_GENERATOR_x86_64-pc-windows-msvc = None
CMAKE_GENERATOR_x86_64_pc_windows_msvc = None
HOST_CMAKE_GENERATOR = None
CMAKE_GENERATOR = None
CMAKE_PREFIX_PATH_x86_64-pc-windows-msvc = None
CMAKE_PREFIX_PATH_x86_64_pc_windows_msvc = None
HOST_CMAKE_PREFIX_PATH = None
CMAKE_PREFIX_PATH = None
CMAKE_x86_64-pc-windows-msvc = None
CMAKE_x86_64_pc_windows_msvc = None
HOST_CMAKE = None
CMAKE = None
running: "cmake" "C:\Users\intel\.cargo\registry\src\g.yxqyang.asia-1ecc6299db9ec823\ui-sys-0.1.3\libui" "-G" "Visual Studio 16 2019" "-Thost=x64" "-Ax64" "-DCMAKE_INSTALL_PREFIX=C:\Users\intel\Desktop\Rust_Projects\guessing-game\target\debug\build\ui-sys-bb7b023830056e1d\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"
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 6.3.9600.
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/intel/Desktop/Rust_Projects/guessing-game/target/debug/build/ui-sys-bb7b023830056e1d/out/build
running: "cmake" "--build" "." "--target" "" "--config" "release" "--parallel" "4"

--- stderr
fatal: not a git repository (or any of the parent directories): .git
Usage: cmake --build

[options] [-- [native-options]]
cmake --build --preset [options] [-- [native-options]]
Options:
= Project binary directory to be built.
--preset , --preset=
= Specify a build preset.
--list-presets
= List available build presets.
--parallel [], -j []
= Build in parallel using the given number of jobs.
If is omitted the native build tool's
default number is used.
The CMAKE_BUILD_PARALLEL_LEVEL environment variable
specifies a default parallel level when this option
is not given.
--target ..., -t ...
= Build instead of default targets.
--config = For multi-configuration tools, choose .
--clean-first = Build target 'clean' first, then build.
(To clean only, use --target 'clean'.)
--resolve-package-references={on|only|off}
= Restore/resolve package references during build.
--verbose, -v = Enable verbose output - if supported - including
the build commands to be executed.
-- = Pass remaining options to the native tool.
thread 'main' panicked at '
command did not execute successfully, got: exit code: 1

build script failed, must exit now', C:\Users\intel.cargo\registry\src\g.yxqyang.asia-1ecc6299db9ec823\cmake-0.1.48\src\lib.rs:975:5
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

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