/root/.epnet/.dotnet/shared/Microsoft.NETCore.App/8.0.0/libinput.so.10: cannot open shared object file: No such file or directory
I’m getting this error when I try to run
builder.StartLinuxFbDev(new string[] { "--fbdev" }, "/dev/fb0", 1, null);
Am I missing a nugget package or something?
Yep, it seems I may have found a bug. StartLinuxFbDev requires an input device, you can’t pass null
builder.StartLinuxFbDev(new string[] { "--fbdev" }, "/dev/fb0", 1, input); // <- input can't be null
so do you find the solution?
Yes, it has to be supplied with an input, even if you don’t have one attached.
EPM815.I2c.Initialize(EPM815.I2c.I2c6);
var touch = new FT5xx6Controller(EPM815.I2c.I2c6, EPM815.Gpio.Pin.PF12);
var input = new InputDevice(); // <- none attached to the hardware
// but is needed below
input.EnableOnscreenKeyboard(displayController);
var builder = BuildAvaloniaApp();
builder.StartLinuxFbDev(new string[] { "--fbdev" }, "/dev/fb0", 1, input);