.Net (Core) 6 on Linux
Posted: Thu Oct 27, 2022 3:47 pm
Should the .Net Phidget libraries work on Linux? I've included the Phidget22.NET Nuget package in my project and ran the Linux install scripts on my device (Raspberry Pi). But I'm getting an exception:
The Phidget libraries work great when I run my application on Windows. Also, my app runs fine on Linux if I don't make any calls to the Phidget libraries.
Thanks,
Craig
Code: Select all
---> System.DllNotFoundException: Unable to load shared library 'phidget22' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libphidget22: cannot open shared object file: No such file or directory
at Phidget22.Phidget22Imports.PhidgetManager_create(IntPtr& phid)
at Phidget22.Manager..ctor()
Thanks,
Craig