Gqrx on Windows

1,044 views
Skip to first unread message

Gisela Noci

unread,
Jan 2, 2021, 10:41:41 AM1/2/21
to Gqrx SDR
When I installed PotHosSDR on Windows10, it installed an executable for Gqrx which executes perfectly on Windows 10. Yet all the sites / downloads imply that Gqrx is not available on Windows??
I would very much like source code for the Windows Version. Is it available?

Roger David Powers

unread,
Jan 2, 2021, 2:34:16 PM1/2/21
to Gqrx SDR
Hi, Gisela.

The short form of your answer may be just go to https://github.com/csete/gqrx , click on the green "Code" download button and click on the "Download Zip" section on the bottom of the dropdown and you will have the gqrx code in a zip file downloaded by your browser.

The long form of the answer follows.

I am not a Windows developer but have some info that may be helpful.

I just heard a talk from Clayton about gqrx on the gnuradio conference call ( https://youtu.be/8zmObP2yONM?t=1714 is a link to his presentation ) and he says gqrx itself does not have a way to build on Windows, but he's looking for a way to do that, especially via github actions if that is possible.

You mentioned Pothosware does build it, so if your goal is to build the software yourself, that is where I would start.  

At the end of 
https://github.com/pothosware/PothosSDR we find:

This repository contains build scripts for creating the Pothos SDR environment on a Windows/MSVC target system.

We don't typically expect users to build the environment, thats why we offer the pre-packaged windows installers. However should someone be interested in building it, all of the build scripts are located in this repository.

The build system obtains most of the software from git, however several dependency libraries are obtained pre-built and installed onto the development machine. Learn more about these dependencies from the InstallPrebuilt.cmake script.

Building the environment with CMake:

mkdir build
cd build
cmake ../ -G "Visual Studio 14 2015 Win64" ^
    -DCMAKE_SYSTEM_VERSION=8.1 ^
    -DCMAKE_INSTALL_PREFIX=C:/PothosSDR ^
    -DCMAKE_BUILD_TYPE=RelWithDebInfo
rebuild_all.bat

And that page shows you all the other packages you need to install first, but as you can imagine, it's a long process.  As I said I'm not a Windows developer so I don't have any MSVC build system to try it on but I think with some trial and error a typical windows developer should be able to make it work.

If you are just interested in the source for gqrx, as above Pothosware is just getting the code from git.  


set(GQRX_BRANCH master)

so the Pothosware build is just pulling the version of the gqrx master branch from git at the date they build their release.

If you want to see that code as of today, do what I said at the start of this email.

If you want to try to reproduce the code thats on your machine, according to https://downloads.myriadrf.org/builds/PothosSDR/ the date is in the name of the file you downloaded so you need to find the code in git as of that date.  

The simplest way to do that is to go to https://github.com/csete/gqrx/commits and find the newest commit on or before that date, then click on the git hash (hexidecimal code on the right) for that commit, then use the same method as above (click on green 'Code' button etc).

It seems the newest Pothosware build is 2020-12-28 so if you installed that one you are almost exactly in sync with the current gqrx code that you can just fetch from the method in the first line of this email.

Sorry if that's too much info (TMI)...

Regards,
RDP



On Saturday, January 2, 2021, 10:47:50 AM EST, Gisela Noci <jgn...@gmail.com> wrote:


When I installed PotHosSDR on Windows10, it installed an executable for Gqrx which executes perfectly on Windows 10. Yet all the sites / downloads imply that Gqrx is not available on Windows??
I would very much like source code for the Windows Version. Is it available?

--
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 on the web visit https://groups.google.com/d/msgid/gqrx/a3d29d10-f55e-41bb-8fbc-590c95b14c9an%40googlegroups.com.

Joe & Gisela Noci

unread,
Jan 3, 2021, 1:13:11 PM1/3/21
to gq...@googlegroups.com
Hi Roger
Thanks for the info - never too much! I am glad that the door is not closed and will pursue along the lines you have suggested
Regards
Gisela

You received this message because you are subscribed to a topic in the Google Groups "Gqrx SDR" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gqrx/uqcMNT_cZ0Y/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gqrx+uns...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gqrx/1129338649.6443361.1609616051591%40mail.yahoo.com.
Reply all
Reply to author
Forward
0 new messages