arcnmx / ddcutil-rs

libddcutil rust bindings
GNU General Public License v2.0
2 stars 4 forks source link

react on C API changes #2

Open flokli opened 1 month ago

flokli commented 1 month ago

Currently fails to link with:

ld: /home/flokli/dev/bornhack/fossbeamer/target/debug/deps/libddcutil-8e62ff239b9dc66b.rlib(ddcutil-8e62ff239b9dc66b.ddcutil.98cd6214f234dff9-cgu.3.rcgu.o): in function `ddcutil::display::DisplayInfo::enumerate':
          /home/flokli/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ddcutil-0.0.3/src/display.rs:60:(.text._ZN7ddcutil7display11DisplayInfo9enumerate17hffba6dad08068fb0E+0x10): undefined reference to `ddca_get_display_info_list'
          collect2: error: ld returned 1 exit status

https://www.ddcutil.com/c_api_90/ suggests there's been some API changes in the meantime.

I tried linking to 2.1.4 currently.

flokli commented 1 month ago

I found https://codeberg.org/ngoquang2708/ddcutil-rs/commits/branch/master (archived), which seems to include these fixes.