Jump to content
  • 0

Can't run Waveforms 3.21.3 on RPI CM4


Schiccia

Question

Hi,

I'd like to recreate something like this system with slightly different components: https://www.arrow.com/en/research-and-events/articles/digilent-analog-discovery-2-and-raspberry-pi-4

My setup has two main differences:

  • Instead of the Raspberry PI 4, I use a RPI Compute Module 4 (2 GB RAM, wifi, SD version) on a Waveshare CM4 to RPI4 Adapter (which probably I might change to another similar adapter).
  • Instead of the Analog Discovery 2, I've ordered an AD 3.

Accessories are a 7" HDMI/USB touchscreen (unfortunately it's too small for Waveforms) and a temporary keyboard for the setup operations, but I'm trying to steer away from it since I don't want it on the final system.

Since I don't yet have the AD 3 with me, I'm just trying to run the Waveforms Demo mode at the moment and prepare the software setup.

Software side, I'm using the "legacy" Raspberry PI OS Bullseye 64-bit version since I had similar issues with Waveforms (I wasn't able to run it) on both legacy 32-bit and "new" Bullseye 32-bit. I had to install, uninstall or reinstall a few Waveforms releases to make it run:

  • digilent.waveforms_3.21.3_arm64.deb
  • digilent.waveforms_3.21.2_arm64.deb
  • digilent.waveforms_3.20.1_arm64.deb
  • digilent.waveforms_3.18.1_arm64.deb
  • digilent.waveforms_3.14.3_arm64.deb

Waveforms is now running without issues with the 3.20.1 release (note again that I'm just using the "demo mode"), but I'd like to being able to upgrade to the newer 3.21.3, or any future release.

The installation (with "sudo dpkg -i digilent.waveforms_x.xx.x_arm64.deb" or by double clicking the package on the GUI) seems to run fine:

pi@raspberrypi:~/Waveforms $ sudo dpkg -i digilent.waveforms_3.21.3_arm64.deb
(Reading database ... 97904 files and directories currently installed.)
Preparing to unpack digilent.waveforms_3.21.3_arm64.deb ...
Unpacking digilent.waveforms (3.21.3) over (3.20.1) ...
Setting up digilent.waveforms (3.21.3) ...
Processing triggers for gnome-menus (3.36.0-1) ...
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for mailcap (3.69) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for shared-mime-info (2.0-1) ...

Although, when I try to run it on the GUI it doesn't show up, and through the terminal I get this:

pi@raspberrypi:~/Waveforms $ waveforms
waveforms: error while loading shared libraries: libQt5SerialPort.so.5: cannot open shared object file: No such file or directory

Does anyone know how to fix this?

Link to comment
Share on other sites

11 answers to this question

Recommended Posts

  • 0

I followed the same directions on a brand new install of Bookworm (Raspbian) for my Raspberry Pi ARM 64 bit and get a seg fault:

$ waveforms
Segmentation fault
$ uname -a
Linux raspberrypi 6.1.0-rpi7-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.63-1+rpt1 (2023-11-24) aarch64 GNU/Linux

Running with digilent.adept.runtime_2.27.9-arm64.deb and digilent.waveforms_3.21.3_arm64.deb. Any suggestions?

Link to comment
Share on other sites

  • 0
On 12/4/2023 at 4:09 PM, attila said:

Hi @Schiccia

This new dependency should have been installed automatically. Install it manually with:
$ sudo apt install libqt5serialport5

 

Hi @attila

thanks for your input and sorry for the delay. In the meantime I got the AD3 (thanks Saint Nicholas) and got it remarkably easily to work on my setup. Having already installed Waveforms previously for demo purpose, actually it was just a matter of plug and play :-) I think the Raspberry PI guide (https://digilent.com/reference/test-and-measurement/guides/getting-started-with-raspberry-pi) can be safely updated because it's valid also for an Analog Discovery 3.

Back on topic, I got back to this issue and tried to install manually the dependancy as you said, but apt ended with the error "unable to locate package libqt5serialport5". I tried also with libqt5serialport, libqtserialport5 and libqtserialport, for that matter. But I got the same fail by apt install, so I'm still on Waveforms v3.20.1.

Link to comment
Share on other sites

  • 0

Hi @Schiccia

I ran into the same issue, but my mistake was to use "sudo apt install libQt5SerialPort5". It worked with "sudo apt install libqt5serialport5", with only lowercase letters.

You write the package here with lowercase letters, but is it possible that you made the same mistake, as I did?

Kind Regards

Edited by ApplePi
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...