SDRPlay Independent Community Forum › Forums › General › How to use my RSPduo w/ Rpi-3 & command line?
Tagged: sdrTest
- This topic has 34 replies, 3 voices, and was last updated by .
-
AuthorPosts
-
December 17, 2021 at 4:44 am #1953alanmalkParticipant
Hello Dale; I’m back… Words I bet you were hoping not to hear.
New Pi – 3B+, newest OS – Bullseye. New issue – can’t build SdrGlut or my ultimate target, sdrTest.
Here is the error:
g++ -O3 -std=gnu++11 -DNO_FORTRAN -I./Digital -pthread -I./glui-routines/include -I/usr/local/hdf-64/include -I/usr/X11R6/include -I./DrawFindPointHistory -I ./SdrFile -I./MainSource -I./KdTree-routines -I./glui-routines/include -I./CExpress -I./Classes -I./SdrGlut -I./FMRadio -I./Radio -c -o Radio/RaceFastsdr.o Radio/RaceFastsdr.cppRadio/RaceFastsdr.cpp: In function ‘int setFilters(playData*, Filters*)’:
Radio/RaceFastsdr.cpp:1313:39: error: cannot convert ‘double’ to ‘liquid_ampmodem_type’
1313 | f->demodAM = ampmodem_create(0.5, 0.0, mode, iflag);
| ^~~
| |
| double
In file included from Radio/RaceFastsdr.h:11,
from Radio/Radio.h:11,
from Radio/RaceFastsdr.cpp:3:
/usr/local/include/liquid/liquid.h:7821:47: note: initializing argument 2 of ‘ampmodem_s* ampmodem_create(float, liquid_ampmodem_type, int)’
7821 | liquid_ampmodem_type _type,
| ~~~~~~~~~~~~~~~~~~~~~^~~~~make: *** [<builtin>: Radio/RaceFastsdr.o] Error 1
pi@pitest:~/Downloads/SdrGlut $
I’ll start by asking – Is there any hope for me?
December 17, 2021 at 4:47 am #1954alanmalkParticipantg++ -O3 -std=gnu++11 -DNO_FORTRAN -I./Digital -pthread -I./glui-routines/include -I/usr/local/hdf-64/include -I/usr/X11R6/include -I./DrawFindPointHistory -I ./SdrFile -I./MainSource -I./KdTree-routines -I./glui-routines/include -I./CExpress -I./Classes -I./SdrGlut -I./FMRadio -I./Radio -c -o Radio/RaceFastsdr.o Radio/RaceFastsdr.cpp Radio/RaceFastsdr.cpp: In function 'int setFilters(playData*, Filters*)': Radio/RaceFastsdr.cpp:1313:39: error: cannot convert 'double' to 'liquid_ampmodem_type' 1313 | f->demodAM = ampmodem_create(0.5, 0.0, mode, iflag); | ^~~ | | | double In file included from Radio/RaceFastsdr.h:11, from Radio/Radio.h:11, from Radio/RaceFastsdr.cpp:3: /usr/local/include/liquid/liquid.h:7821:47: note: initializing argument 2 of 'ampmodem_s* ampmodem_create(float, liquid_ampmodem_type, int)' 7821 | liquid_ampmodem_type _type, | ~~~~~~~~~~~~~~~~~~~~~^~~~~ make: *** [<builtin>: Radio/RaceFastsdr.o] Error 1 pi@pitest:~/Downloads/SdrGlut $
Repost to keep the formatting.
December 18, 2021 at 4:33 am #1956alanmalkParticipantWell, I was forced to use my remaining brain cell and solve this before I went off the deep end.
Came down to this: ld wasn’t finding the liquid library. So in “makefileRaspbian” I added “-L/usr/local/lib”,
which is where libliquid.* are located. Solved (for now, tomorrow brings many more opportunities for me to
screw up.) But sdrglut.x works as advertised. I shall sleep better…February 19, 2022 at 7:32 am #1997appstatus109ParticipantSuper this is download live netTv to get connected with latest TV cabel channels
February 19, 2022 at 7:33 am #1998appstatus109ParticipantBest to this is super for you to watch all the chennals free download live netTv to get connected with latest TV cabel channels
-
AuthorPosts
- You must be logged in to reply to this topic.