"No backend is available" error with examples #1236
I am trying to build and run an example from piston.rs, here is the code fore reference:
but get error:
I am running NixOS, so problem may be with dynamically loading libraries. Is there a way to find out which
As far as I can understand the problem is in
I've tried to explicitly "install" all mentioned libs via
The source of the issue is glutin. More details available in this closed issue.
I fixed the issue myself by building a simple nix package in the root of the cargo directory:
The most important part here is the
This can probably be marked as solved now. If the maintainer wishes to document this somewhere please do. Maybe even just a link to this issue in the readme so people on NixOS don't get stuck and quit trying.