Skip to content

error: failed to run custom build command for libui-ffi v0.4.0 (https://github.com/libui-rs/libui#9ed0bf6e) #22

@Shadowblitz16

Description

@Shadowblitz16
error: failed to run custom build command for `libui-ffi v0.4.0 (https://github.com/libui-rs/libui#9ed0bf6e)`
note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.
Caused by:
  process didn't exit successfully: `/home/shadowblitz16/Documents/source/rust/editor_x/target/debug/build/libui-ffi-12ff08835a3b3c61/build-script-build` (exit status: 101)
  --- stderr
  ./libui/ui.h:23:10: fatal error: 'stddef.h' file not found
  thread 'main' panicked at /home/shadowblitz16/.cargo/git/checkouts/libui-adffdbd71d2250d0/9ed0bf6/libui-ffi/build.rs:57:10:
  Unable to generate bindings: ClangDiagnostic("./libui/ui.h:23:10: fatal error: 'stddef.h' file not found\n")
  stack backtrace:
     0: __rustc::rust_begin_unwind
               at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5
     1: core::panicking::panic_fmt
               at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14
     2: core::result::unwrap_failed
               at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/result.rs:1765:5
     3: core::result::Result<T,E>::expect
     4: build_script_build::main
     5: core::ops::function::FnOnce::call_once
  note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

Operating System: Debian GNU/Linux 13
KDE Plasma Version: 6.3.6
KDE Frameworks Version: 6.13.0
Qt Version: 6.8.2
Kernel Version: 6.12.43+deb13-amd64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700G with Radeon Graphics
Memory: 16 GiB of RAM (11.6 GiB usable)
Graphics Processor: AMD Radeon Graphics

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