fails to compile with gui feature #17

Open
opened 2023-12-28 01:52:06 +01:00 by ligmaSec · 3 comments
ligmaSec commented 2023-12-28 01:52:06 +01:00 (Migrated from github.com)

when I am trying to compile with cargo build --features=gui

I get the following error :

error: failed to run custom build command for `ui-sys v0.2.1 (https://github.com/rust-native-ui/libui-rs#3496903a)`

Caused by:
  process didn't exit successfully: `/home/ligma/build/qft/target/debug/build/ui-sys-8ba6c16adcf02066/build-script-build` (exit status: 101)
  --- stderr
  thread 'main' panicked at /home/ligma/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.54.0/src/ir/context.rs:894:9:
  "enum_(unnamed_at__/libui/ui_h_53_1)" is not a valid Ident
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
when I am trying to compile with `cargo build --features=gui` I get the following error : ``` error: failed to run custom build command for `ui-sys v0.2.1 (https://github.com/rust-native-ui/libui-rs#3496903a)` Caused by: process didn't exit successfully: `/home/ligma/build/qft/target/debug/build/ui-sys-8ba6c16adcf02066/build-script-build` (exit status: 101) --- stderr thread 'main' panicked at /home/ligma/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.54.0/src/ir/context.rs:894:9: "enum_(unnamed_at__/libui/ui_h_53_1)" is not a valid Ident note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace ```
TudbuT commented 2023-12-28 20:59:16 +01:00 (Migrated from github.com)

ui-sys has a lot of issues in general and i really regret using it. I'll try updating it and potentially submit the issue upstream. If this isn't resolved soon, I will rewrite the GUI to use a better library.

ui-sys has a lot of issues in general and i really regret using it. I'll try updating it and potentially submit the issue upstream. If this isn't resolved soon, I will rewrite the GUI to use a better library.
TudbuT commented 2023-12-28 21:01:08 +01:00 (Migrated from github.com)

reproduced. trying to update

reproduced. trying to update
TudbuT commented 2024-01-03 03:16:23 +01:00 (Migrated from github.com)

its a ui-sys issue. i will have to rewrite it with a different library.

its a ui-sys issue. i will have to rewrite it with a different library.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TudbuT/qft#17
No description provided.