我正在尝试从 GitHub ( https://github.com/RedhawkSDR/basic-components/tree/master/DataConverter )上的 REDHAWK 存储库中修改 DataConverter 组件,以将数据从浮点数转换为复杂的浮点数数据类型,所以我发送data 可以发送要由 USRP 传输的数据(它只接受复数浮点数作为输入)。
但是,在为复杂浮点数据类型添加新端口和属性后,我去生成组件并收到错误
GENERATE FAILED: Failed to find implementation settings for implementation DCE:f744f32f-510a-4e64-9124-3507d5568e39
当我查看 DataConverter.spd.xml 的 Implementations 选项卡时,我注意到缺少名为“Code Generation Details”的部分。DataConvert.spd.xml 的内容如下。作为参考,我在 Centos 6.4 x64 上运行 REDHAWK 1.9。
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file is protected by Copyright. Please refer to the COPYRIGHT file distributed with this
source distribution.
This file is part of REDHAWK Basic Components DataConverter.
REDHAWK Basic Components DataConverter is free software: you can redistribute it and/or modify it under the terms of
the GNU Lesser General Public License as published by the Free Software Foundation, either
version 3 of the License, or (at your option) any later version.
REDHAWK Basic Components DataConverter is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this
program. If not, see http://www.gnu.org/licenses/.
-->
<!DOCTYPE softpkg PUBLIC "-//JTRS//DTD SCA V2.2.2 SPD//EN" "softpkg.dtd">
<softpkg id="DCE:892a34ce-22c9-4719-b823-9f2e199aa69c" name="DataConverter" type="sca_compliant">
<title></title>
<author>
<name></name>
</author>
<propertyfile type="PRF">
<localfile name="DataConverter.prf.xml"/>
</propertyfile>
<descriptor>
<localfile name="DataConverter.scd.xml"/>
</descriptor>
<implementation id="DCE:f744f32f-510a-4e64-9124-3507d5568e39">
<description>The implementation contains descriptive information about the template for a software component.</description>
<code type="Executable">
<localfile name="DataConverter/DataConverter"/>
<entrypoint>DataConverter/DataConverter</entrypoint>
</code>
<compiler name="/usr/bin/gcc" version="4.1.2"/>
<programminglanguage name="C++"/>
<humanlanguage name="EN"/>
<os name="Linux"/>
<processor name="x86"/>
<processor name="x86_64"/>
</implementation>
</softpkg>