SDRPlusPlus icon indicating copy to clipboard operation
SDRPlusPlus copied to clipboard

64-bit Raspberry Pi OS (28 Jan '22 version, Bullseye): Anyone successfully install SDR++ ?

Open joaquinhar opened this issue 3 years ago • 10 comments

I made a fresh SD card with the recently-released Raspberry Pi 64-bit OS and used the rpi_install.sh to build from src. It fails with this error from the CMakeError.log file:

/usr/bin/cc -fPIC -std=c99 -Wall -Wpedantic -O2 -DCHECK_FUNCTION_EXISTS=dotprod -rdynamic CMakeFiles/c mTC_e134d.dir/CheckFunctionExists.c.o -o cmTC_e134d -lFEC /usr/bin/ld: cannot find -lFEC

Apologies....I'm probably in way over my head.

joaquinhar avatar Feb 11 '22 00:02 joaquinhar

you don't need to run that script. just install the following dependencies and built from the git folder.

sudo apt update sudo apt install -y build-essential cmake git libfftw3-dev libglfw3-dev libvolk2-dev libzstd-dev librtaudio-dev p7zip-full wget

cd build cmake ../ make -j4 sudo make install

my system. Linux RPi4-v3 5.10.92-v8+ #1514 SMP PREEMPT Mon Jan 17 17:39:38 GMT 2022 aarch64 GNU/Linux RPi4-v3:~/PiSDR/Software/SDRPlusPlus $ sdrpp -a [2022-02-11 21:56:07.624] [info] SDR++ v1.0.5

RyLeeRyno avatar Feb 12 '22 02:02 RyLeeRyno

Thanks very much, RyLeeRyno.
Your changes made the process better. However, this RPi 3B+ hangs during the make. It is a "complete hang", even the desktop clock doesn't change. So, no errors now, but no completed make either. Eventually, the green light just goes into a steady mode and after about 10 minutes, the monitor has no signal. CTRL-ALT-DEL doesn't even stop it.

I'm guessing this is an issue with the RAM of the RPi 3B+ which has had issues with the 32-bit version of the OS where it would hang with just a few simple web pages open in Chromium.

If anyone has any other suggestions and has made this build work on a 3B+, I am very interested. Otherwise, I may go back to the 32-bit OS and keep using gqrx

joaquinhar avatar Feb 12 '22 23:02 joaquinhar

delete the build folder and run the cmake again with the below options.

cmake .. -DOPT_BUILD_LIMESDR_SOURCE=OFF -DOPT_BUILD_AIRSPYHF_SOURCE=OFF DOPT_BUILD_BLADERF_SOURCE=OFF -DOPT_BUILD_FILE_SOURCE=OFF -DOPT_BUILD_HACKRF_SOURCE=OFF -DOPT_BUILD_RFSPACE_SOURCE=OFF -DOPT_BUILD_RTL_TCP_SOURCE=OFF -DOPT_BUILD_SPYSERVER_SOURCE=OFF -DOPT_BUILD_PLUTOSDR_SOURCE=OFF -DOPT_BUILD_METEOR_DEMODULATOR=OFF -DOPT_BUILD_DISCORD_PRESENCE=OFF -DOPT_BUILD_RIGCTL_SERVER=OFF

make -j4

RyLeeRyno avatar Feb 13 '22 00:02 RyLeeRyno

Why in the world would you do that.... If you're gonna disable all those features you might as well use GQRX...

AlexandreRouma avatar Feb 13 '22 12:02 AlexandreRouma

delete the build folder and run the cmake again with the below options.

cmake .. -DOPT_BUILD_LIMESDR_SOURCE=OFF -DOPT_BUILD_AIRSPYHF_SOURCE=OFF DOPT_BUILD_BLADERF_SOURCE=OFF -DOPT_BUILD_FILE_SOURCE=OFF -DOPT_BUILD_HACKRF_SOURCE=OFF -DOPT_BUILD_RFSPACE_SOURCE=OFF -DOPT_BUILD_RTL_TCP_SOURCE=OFF -DOPT_BUILD_SPYSERVER_SOURCE=OFF -DOPT_BUILD_PLUTOSDR_SOURCE=OFF -DOPT_BUILD_METEOR_DEMODULATOR=OFF -DOPT_BUILD_DISCORD_PRESENCE=OFF -DOPT_BUILD_RIGCTL_SERVER=OFF

make -j4

Thanks again.
The RPi 3B+ still hangs. Looks like I'll switch to an old Windows laptop and try to build sdrpp on that.

joaquinhar avatar Feb 13 '22 19:02 joaquinhar

I suggested minimizing the build for a smaller footprint since there was a concern that the Pi3+ low memory and arm64 architecture played a part.

If successful then of course rebuild with the defaults enabled x camemory install with the intent of adding the packages back if the install was successful.

-Ryan

On Feb 13, 2022, at 07:03, AlexandreRouma @.***> wrote:

 Why in the world would you do that.... If you're gonna disable all those features you might as well use GQRX...

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.

RyLeeRyno avatar Feb 14 '22 11:02 RyLeeRyno

you're not gonna gain that much ram by disabling all of those and making the install basically useless What actually help is dropping the FFT size

AlexandreRouma avatar Feb 16 '22 08:02 AlexandreRouma

Got total freezes on RPi 4 while make -j4, -j3 resolved the issue

SanchYESS avatar Feb 20 '22 07:02 SanchYESS

use only the parameter: make then pi on 1GB RAM does not hang then the package assembly will be completed successfully

toxa1983poloskov avatar Feb 22 '22 12:02 toxa1983poloskov

Raspberry Pi OS (Bullseye) PI2

tell me what the problem is RtAudio ? the program starts and closes.

terminate called after throwing an instance of 'RtAudioError'
what(): RtApiPulse::stopStream(): the stream is not open! Аварийный останов

how do I adjust the sound? [rtaudio] (https://github.com/thestk/rtaudio) I have collected

toxa1983poloskov avatar Feb 22 '22 12:02 toxa1983poloskov

For future reference, building on RaspiOS bullseye 64bit is exactly the same as on a desktop debian bullseye.

AlexandreRouma avatar Sep 13 '22 17:09 AlexandreRouma