qft icon indicating copy to clipboard operation
qft copied to clipboard

fails to compile with gui feature

Open ligmaSec opened this issue 6 months ago • 3 comments

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

ligmaSec avatar Dec 28 '23 00:12 ligmaSec

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 avatar Dec 28 '23 19:12 TudbuT

reproduced. trying to update

TudbuT avatar Dec 28 '23 20:12 TudbuT

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

TudbuT avatar Jan 03 '24 02:01 TudbuT