Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/url/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
水槽块gnuradio_Gnuradio - Fatal编程技术网

水槽块gnuradio

水槽块gnuradio,gnuradio,Gnuradio,我是编写Gnuradio的初学者。 我必须在GNURadio中创建一个与原来相同的新水槽块。 我试图创建一个新文件夹“gr secure”,并将其复制到gr uhd文件夹中但运行cmake的所有文件/文件夹中。/发生了以下情况: CMake Error at CMakeLists.txt:23 (include): include could not find load file: GrBoost CMake Error at CMakeLists.txt:30 (include): in

我是编写Gnuradio的初学者。 我必须在GNURadio中创建一个与原来相同的新水槽块。 我试图创建一个新文件夹“gr secure”,并将其复制到gr uhd文件夹中但运行cmake的所有文件/文件夹中。/发生了以下情况:

CMake Error at CMakeLists.txt:23 (include):
include could not find load file:

GrBoost


CMake Error at CMakeLists.txt:30 (include):
include could not find load file:

GrComponent


CMake Error at CMakeLists.txt:31 (GR_REGISTER_COMPONENT):
Unknown CMake command "GR_REGISTER_COMPONENT".


CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present.  A line of code such as

cmake_minimum_required(VERSION 2.8)

should be added at the top of the file.  The version specified may be  lower
if you wish to support older CMake versions for this project.  For more
information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!
See also "/home/testbed/gnuradio3.6.5.1/gnuradio-3.6.5/gr-secure/build      CMakeFiles/CMakeOutput.log".
第一件事:

你真的不应该在构建新东西时使用GNU Radio 3.6;我们(GNU无线电项目)转到3.7年前!找到仍然精通3.6的人将越来越难。你是怎么安装这个古老的版本的,为什么

此外,我们基本上不再维护3.6的通用性–如果它不在您的现代操作系统上构建具有现代版本的库依赖项、工具、编译器…将很难获得帮助,因为没有人再将其用于新的开发

gr uhd是一个树内模块;我记不清了,但我不认为有可能在3.6中把它们与主GNU无线电源树分开构建

所以从gr uhd开始是个糟糕的选择

您应该真正遵循中有关如何生成树外模块的说明。问题:

全部是3.7。如果您是一位经验丰富的3.7用户,并且满足3.6项目的要求,那么将代码结构调整到旧的GNU Radio确实是可能的,但是找到一位能够很好地解释如何从这个过时的GNU Radio版本开始的人将是很困难的

因此,我的答案可以归结为:

  • 如果您不必(我怀疑您必须)使用3.6,请安装GNU Radio 3.7并阅读上述教程
  • 如果您有使用GNU Radio 3.6构建的现有代码,但可以将现有代码自由移植到3.7,请更新到3.7
  • 如果您有3.6的维护代码,并且无法更新,那么您确实需要获得一个与3.6.5一起使用的现有的树外模块–如前所述,gr uhd不是树外模块,因此是错误的选择。你可以将你的模块建立在这个基础上,但是要注意:在3.7之前,OOT模块的体系结构上的同质性比较少,因此,如果事情不顺利的话,你只能靠自己了