无法使用 GNU Radio Companion 安装 SDRPlay RSP1A

问题描述 投票:0回答:1

我尝试将 SDRPlay RSP1A 与 Gnu Radio 结合使用,但标准 SDR 源块不起作用。 不过,RSP1A 在 Windows 10 上成功与 SDRconnect 配合使用 GnuRadio 版本为 3.10.8.0 SDRplay API 版本为 3.14

此处记录了 Windows 工作流程 https://www.sdrplay.com/docs/gr-sdrplay-workflow.pdf 看起来很简单,但我相信它已经过时了,不适合 gnuradio 3.10 和 V3 的 API

因此,我一直在尝试按照上述链接中的说明安装 Franco Venturi 的 OOT gr-sdrplay3。我已经从github下载了包 https://github.com/fventuri/gr-sdrplay3 并尝试使用 cygwin 按照指示进行构建

cd gr-sdrplay3
mkdir build && cd build && cmake .. && make
sudo make install

但是,在尝试 make 时会失败

Steve@Bhup /cygdrive/d/AmateurRadio/Install/RSP1A_SDR_GnuRadio/gr-sdrplay3-main
$ mkdir build && cd build && cmake .. && make
-- The CXX compiler identification is GNU 11.4.0
-- The C compiler identification is GNU 11.4.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Build type not specified: defaulting to release.
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found Boost: /usr/include (found suitable version "1.66.0", minimum required is "1.65") found  components: filesystem program_options regex thread system chrono date_time atomic
CMake Error at CMakeLists.txt:105 (find_package):
  By not providing "FindGnuradio.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Gnuradio",
  but CMake did not find one.

  Could not find a package configuration file provided by "Gnuradio"
  (requested version 3.10) with any of the following names:

    GnuradioConfig.cmake
    gnuradio-config.cmake

  Add the installation prefix of "Gnuradio" to CMAKE_PREFIX_PATH or set
  "Gnuradio_DIR" to a directory containing one of the above files.  If
  "Gnuradio" provides a separate development package or SDK, be sure it has
  been installed.

第 105 行或 CMakeLists.txt 是 find_package(Gnuradio“3.10”需要)

所以看起来好像缺少了一些东西。我不是特别擅长 Makefiles 和构建过程,并且完全不知道如何解决这个问题。

需要说明的是,我没有编译过GNU radio,只是下载了Windows安装包。 GNU Radio 似乎功能完美。

当然,理想情况下我更愿意以某种方式获取适用于 Win 10 的 gr-sdrplay3 OOT 的编译版本,而不必编译任何内容,但我一直找不到这个

如果这里不适合回答这个问题,请告知。

gnuradio
1个回答
0
投票

经过大量研究并在 Franco Venturi 的大力帮助下,我找到的让 RSP1A 或任何 SDR Play 设备与 GNU Radio 配合使用的唯一可行方法是严格按照下页中的说明进行操作。这确实涉及安装一些看似不必要的软件包,但它确实有效。 Franco 提供了一个二进制文件,可以在一定程度上简化安装。

https://github.com/fventuri/gr-sdrplay3/blob/conda/WINDOWS.md

© www.soinside.com 2019 - 2024. All rights reserved.