Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x86_64-pc-windows-gnu build fails on Ubuntu 20 #724 #104

Open
lcmgh opened this issue Apr 14, 2022 · 0 comments
Open

x86_64-pc-windows-gnu build fails on Ubuntu 20 #724 #104

lcmgh opened this issue Apr 14, 2022 · 0 comments

Comments

@lcmgh
Copy link

lcmgh commented Apr 14, 2022

Target: x86_64-pc-windows-gnu

error: failed to run custom build command for `sys-info v0.8.0`

Caused by:
  process didn't exit successfully: `/github/workspace/./target/release/build/sys-info-215e09fdcb498047/build-script-build` (exit status: 1)
  --- stdout
  cargo:rustc-flags=-l psapi
  cargo:rustc-flags=-l powrprof
  TARGET = Some("x86_64-pc-windows-gnu")
  OPT_LEVEL = Some("3")
  HOST = Some("x86_64-unknown-linux-musl")
  CC_x86_64-pc-windows-gnu = None
  CC_x86_64_pc_windows_gnu = None
  TARGET_CC = None
  CC = None
  CROSS_COMPILE = None
  CFLAGS_x86_64-pc-windows-gnu = None
  CFLAGS_x86_64_pc_windows_gnu = None
  TARGET_CFLAGS = None
  CFLAGS = None
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some("false")
  CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
  running: "x86_64-w64-mingw32-gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-m64" "-Wall" "-Wextra" "-o" "/github/workspace/./target/x86_64-pc-windows-gnu/release/build/sys-info-644b5c109f2cf0ca/out/c/windows.o" "-c" "c/windows.c"
  cargo:warning=c/windows.c:6:10: fatal error: powerbase.h: No such file or directory
  cargo:warning=    6 | #include <powerbase.h>
  cargo:warning=      |          ^~~~~~~~~~~~~
  cargo:warning=compilation terminated.
  exit status: 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant