GQRX Install on RPi5 Failing (SPDLOG)

64 views
Skip to first unread message

Michael Jackson

unread,
Mar 20, 2025, 3:17:49 AMMar 20
to Gqrx SDR
For most of this day I have been trying to install GQRX on my RPi5 but get the following error when I command "cmake ..":

[code]
[ 24%] Building CXX object src/CMakeFiles/gqrx.dir/gqrx_autogen/mocs_compilation.cpp.o
In file included from /usr/include/gnuradio/logger.h:36,
                 from /usr/include/gnuradio/blocks/file_sink_base.h:15,
                 from /usr/include/gnuradio/blocks/file_sink.h:15,
                 from /home/pi/gqrx-2.17/src/applications/gqrx/receiver.h:26,
                 from /home/pi/gqrx-2.17/build/src/gqrx_autogen/JZP7SBZKMR/../../../../src/applications/gqrx/mainwindow.h:48,
                 from /home/pi/gqrx-2.17/build/src/gqrx_autogen/JZP7SBZKMR/moc_mainwindow.cpp:10,
                 from /home/pi/gqrx-2.17/build/src/gqrx_autogen/mocs_compilation.cpp:2:
/usr/include/spdlog/common.h:168:111: error: ‘basic_runtime’ is not a member of ‘fmt’
  168 |           std::is_convertible<T, fmt::basic_string_view<Char>>::value || std::is_same<remove_cvref_t<T>, fmt::basic_runtime<Char>>::value>
      |                                                                                                               ^~~~~~~~~~~~~
/usr/include/spdlog/common.h:168:125: error: template argument 2 is invalid
  168 |           std::is_convertible<T, fmt::basic_string_view<Char>>::value || std::is_same<remove_cvref_t<T>, fmt::basic_runtime<Char>>::value>
      |                                                                                                                             ^~~~
/usr/include/spdlog/common.h:168:138: error: expected ‘{’ before ‘>’ token
  168 |           std::is_convertible<T, fmt::basic_string_view<Char>>::value || std::is_same<remove_cvref_t<T>, fmt::basic_runtime<Char>>::value>
      |                                                                                                                                          ^
make[2]: *** [src/CMakeFiles/gqrx.dir/build.make:193: src/CMakeFiles/gqrx.dir/gqrx_autogen/mocs_compilation.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:233: src/CMakeFiles/gqrx.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
[/code]

I have no concept of spdlog, its use or relevance to GQRX.  I do see that there is an expectation of a "{" character somewhere on line 168 of the /usr/include/spdlog/common.h file but I am not a programmer so I don't know the syntax.

Is there anyone who can decypher/assist?

righthal...@gmail.com

unread,
Mar 20, 2025, 11:00:48 AMMar 20
to Gqrx SDR
If you use the version that comes with the Pi5, you should have no problem -

sudo apt-get install gqrx-sdr

That installs GQRXs 2.15.9 and it works with no problem on BookWorm.

If you insist on gqrx-2.17, you will have to grab the sources of all of the
versions of libraries that gqrx uses and build them . Using the latest 
versions of all the libraries would be your best chance, but that may fail.

Eric Dand

unread,
Mar 20, 2025, 6:24:39 PMMar 20
to gq...@googlegroups.com
Syntax errors at build-time usually indicate issues with preprocessor macros. Those, in turn, are often caused by build mismatches, for example trying to build on an unsupported platform, or with a library missing. 

Even for professionals, diagnosing and fixing such issues can be hard, especially without in-depth knowledge of the code being built. If you're not a coder yourself, I'd recommend a pre-built binary. 

Eric

--
You received this message because you are subscribed to the Google Groups "Gqrx SDR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gqrx+uns...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/gqrx/67f71ec8-68a4-4e70-b675-681c16565d7an%40googlegroups.com.

Виктор Л.

unread,
Mar 23, 2025, 8:04:45 AMMar 23
to gq...@googlegroups.com


пт, 21 мар. 2025 г. в 00:24, Eric Dand <eric....@gmail.com>:
Reply all
Reply to author
Forward
0 new messages