I have a very basic .NET 5 based C# console application that opens the Analog Discovery 2 using the DWF.cs wrapper class included in the WaveForms SDK v3.15.5 (64-bit) on Windows.
I could install the .NET 5 runtime on my Raspberry Pi 4 B, and I could run other .NET apps on it without any issues.
I created a small application that opens my AD2 and starts acquiring data from its CH1 input.
It runs as expected on Windows 10, but when I run it on the 32-bit Raspberry Pi OS I got the following error:
Unhandled exception. System.DllNotFoundException: Unable to load shared library 'dwf.dll' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libdwf.dll: cannot open shared object file: No such file or directory
at dwf._FDwfGetVersion(StringBuilder szVersion)
at dwf.FDwfGetVersion(String& szVersion) in /home/pi/Work/BioBalanceDetector/Measurements/WaveForms/Experiments/SleepLogging/csharp/SleepLogger/dwf.cs:line 212
at SleepLogger.Program.Main(String[] args) in /home/pi/Work/BioBalanceDetector/Measurements/WaveForms/Experiments/SleepLogging/csharp/SleepLogger/Program.cs:line 17
Is there a way to install the missing DWF DLLs or their Linux/Raspberry alternatives on my Raspberry Pi and make my app work?
I have WaveForms 3.14.3 (32-bit) already installed on the Raspberry Pi.
Question
Andras
Hi,
I have a very basic .NET 5 based C# console application that opens the Analog Discovery 2 using the DWF.cs wrapper class included in the WaveForms SDK v3.15.5 (64-bit) on Windows.
I could install the .NET 5 runtime on my Raspberry Pi 4 B, and I could run other .NET apps on it without any issues.
I created a small application that opens my AD2 and starts acquiring data from its CH1 input.
It runs as expected on Windows 10, but when I run it on the 32-bit Raspberry Pi OS I got the following error:
Unhandled exception. System.DllNotFoundException: Unable to load shared library 'dwf.dll' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libdwf.dll: cannot open shared object file: No such file or directory at dwf._FDwfGetVersion(StringBuilder szVersion) at dwf.FDwfGetVersion(String& szVersion) in /home/pi/Work/BioBalanceDetector/Measurements/WaveForms/Experiments/SleepLogging/csharp/SleepLogger/dwf.cs:line 212 at SleepLogger.Program.Main(String[] args) in /home/pi/Work/BioBalanceDetector/Measurements/WaveForms/Experiments/SleepLogging/csharp/SleepLogger/Program.cs:line 17
Is there a way to install the missing DWF DLLs or their Linux/Raspberry alternatives on my Raspberry Pi and make my app work?
I have WaveForms 3.14.3 (32-bit) already installed on the Raspberry Pi.
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.