I recently tried to build a project that depends on rust-sfml 0.24.0 on NixOS 24.11. I made sure that I had all of the dependencies from the prerequisites section of the README, but the build still failed with this error:
CMake Error at cmake/Modules/FindUDev.cmake:49 (MESSAGE):
Could not find UDev library
I created a minimum reproduction project that reproduces the error. Here’s a full log of me trying to build the minimum reproduction project.
I recently tried to build a project that depends on rust-sfml 0.24.0 on NixOS 24.11. I made sure that I had all of the dependencies from the prerequisites section of the README, but the build still failed with this error:
CMake Error at cmake/Modules/FindUDev.cmake:49 (MESSAGE): Could not find UDev libraryI created a minimum reproduction project that reproduces the error. Here’s a full log of me trying to build the minimum reproduction project.