Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Soapy Remote on Windows #1397

Open
srs4511351 opened this issue Nov 12, 2024 · 11 comments
Open

Soapy Remote on Windows #1397

srs4511351 opened this issue Nov 12, 2024 · 11 comments

Comments

@srs4511351
Copy link

The latest Windows version of gqrx (2.17.5) does not work with Soapy Remote.
When I enter the device string:
driver=remote,remote=tcp://192.168.1.220:55132,remote:driver=sdrplay,soapy=0
I get the message SoapySDR::Device::make() no match
Please select another device.

That device string does work on gqrx 2.14.4 that comes with the PothosSDR Windows development environment.
It also works on the Linux version 2.17.5 that I compiled.

Is Soapy Remote included in the Windows release?

----Steve

@argilo
Copy link
Member

argilo commented Nov 12, 2024

As noted in the release notes, only RTL-SDR and AirSpy devices are supported in the experimental Windows release. Soapy Remote is not available.

@srs4511351
Copy link
Author

Thanks. Will all of the devices be included in the future?
I was able to use the RTL-SDR Spectrum server with the SDRplay RSP TCP Server, but it reduces my SDRplay device to the frequency range of an RTL-SDR.
I'll use the old version for now...

@argilo
Copy link
Member

argilo commented Nov 12, 2024

Gqrx is maintained by volunteers. Additional device support will be added to the Windows build if and when someone contributes it.

In the meantime, if you'd like support for many more devices on Windows, I'd suggest installing Gqrx using Radioconda: https://github.com/ryanvolz/radioconda

@srs4511351
Copy link
Author

Thanks! good idea. I tried it and it works.
I have also experimented with MSYS2 https://www.msys2.org/. You can compile applications from github, etc. so I can install things that aren't preconfigured.

@argilo
Copy link
Member

argilo commented Nov 12, 2024

Gqrx Windows binaries are built using MSYS2. The build steps can be seen here:

https://github.com/gqrx-sdr/gqrx/blob/master/.github/workflows/build.yml#L217-L387

If you're able to add support for more hardware, contributions are welcome.

@srs4511351
Copy link
Author

I am having trouble installing on MSYS2.
I'm stuck the gr-osmosdr cmake step
I do have pybind11 installed and the installer is requiring it.
mingw-w64-ucrt-x86_64-pybind11 2.13.6-2

CMake Error at /ucrt64/lib/cmake/pybind11/FindPythonLibsNew.cmake:163 (message):
  Python config failure:

Call Stack (most recent call first):
  /ucrt64/lib/cmake/pybind11/pybind11Tools.cmake:50 (find_package)
  /ucrt64/lib/cmake/pybind11/pybind11Common.cmake:228 (include)
  /ucrt64/lib/cmake/pybind11/pybind11Config.cmake:250 (include)
  CMakeLists.txt:185 (find_package)


-- Configuring incomplete, errors occurred!

@argilo
Copy link
Member

argilo commented Nov 13, 2024

Gqrx does not need Python support, so you can build without it. Add -DENABLE_PYTHON=OFF to the cmake command.

@srs4511351
Copy link
Author

I tried compiling gqrx with -DENABLE_PYTHON=OFF in the cmake command, but it failed with this error
Could NOT find Gnuradio-osmosdr (missing: GNURADIO_OSMOSDR_LIBRARIES

The reason is that in my previous message, gr-osmosdr failed with a vague error about a pybind11 Python config failure.
I am thinking about starting the entire installation over.

I was able to compile NRSC5 on this system, though.

By the way, there is no gqrx compile instructions in the build steps page that you sent the link to earlier.

@argilo
Copy link
Member

argilo commented Nov 14, 2024

Sorry, I meant that gr-osmosdr should be built with -DENABLE_PYTHON=OFF, not Gqrx.

@srs4511351
Copy link
Author

I finally got gr-osmosdr to build and install by adding -DENABLE_PYTHON=OFF.
I don't have Airspy installed yet.
I had to make this change: -DCMAKE_INSTALL_PREFIX=${RUNNER_TEMP}/msys64/mingw64 \

Building gqrx
For gqrx, adding -DENABLE_PYTHON=OFF allowed cmake to complete.
The build did not go well.

This is the procedure that I used. Is it valid?

cd ~/
git clone https://github.com/gqrx-sdr/gqrx.git gqrx
cd gqrx
cmake -S . -B build -DCMAKE_INSTALL_PREFIX=${RUNNER_TEMP}/mingw64 -DCMAKE_BUILD_TYPE=Release -DENABLE_PYTHON=OFF
cmake --build build
( would have been the next step of the previous had succeeded): cmake --install build

I have attached the cmake and build (cmake --build build) terminal output.
cmake_log.txt
build_log.txt

@argilo
Copy link
Member

argilo commented Nov 14, 2024

The build steps I linked to above are used to produce automated builds, so I expect they will work if you use them on your machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants