canselcik / libremarkable

The only public framework for developing applications with native refresh support for Remarkable Tablet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compilation Error with EvDev (Mismatch types)

rlingineni opened this issue · comments

I was following the instructions to build with musl.

However, there seems to be a compile error. Building on MacOS.

Compiling evdev v0.10.2
convert_ioctl_res!(::nix::libc::ioctl(fd, ior!(b'E', 0x20 + ev, len) as ::libc::c_ulong, buf))
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `u32`

I'm new to the lang, but it seems the error might be due to this issue: emberian/evdev#22

Looks like the newest version hasn't been published with the fix

Fixed now that the linked PR is merged... thanks for the report!