我想在Ubuntu20.10上使用带有dotnet核心版本3.1的RaspberryIO库。当涉及到使用
Pi.Init<BootstrapWiringPi>();我有错误:
Unhandled exception. System.DllNotFoundException: Unable to load shared library 'libwiringPi.so.2.52' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: liblibwiringPi.so.2.52: cannot open shared object file: No such file or directory相同的代码在Raspbian上也能很好地工作。
我使用:覆盆子Pi 4
发布于 2021-03-25 12:53:02
在我的例子中(Rpi3 +Ubuntu20.04 x64 +DotNetCore3.1):
将https://github.com/WiringPi/WiringPi
。
和Pi.Init < BootstrapWiringPi >( );与TestLedBlinking()一起工作。
https://stackoverflow.com/questions/65312385
复制相似问题