无法生成DataConverter C ++组件

时间:2014-03-24 23:29:57

标签: redhawksdr

我正在尝试从GitHub上的REDHAWK repo(https://github.com/RedhawkSDR/basic-components/tree/master/DataConverter)修改DataConverter组件,以将数据从float转换为复杂的float数据类型,因此我发送的数据可以发送数据由USRP发送(它只接受复杂的float作为输入)。

但是,在我为复杂浮点数据类型添加新端口和属性后,我去生成组件并收到错误

GENERATE FAILED: Failed to find implementation settings for implementation DCE:f744f32f-510a-4e64-9124-3507d5568e39

当我查看DataConverter.spd.xml的“实现”选项卡时,我注意到名为"代码生成详细信息"不见了。 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>

1 个答案:

答案 0 :(得分:0)

看起来项目中所需的隐藏文件已被删除,特别是&#34; .DataConverter.wavedev&#34;。将组件的实现与特定代码生成器联系起来的文件称为wavedev文件。有关Eclipse IDE使用的隐藏文件的更多信息,请参阅v1.9 REDHAWK文档中的Chapter 20.1.1

如果您从git存储库克隆此项目,您应该能够使用git status确认这一点。如果是这种情况,您可以使用git命令重新检出此丢失的文件。从基本组件存储库的根目录:

git checkout DataConverter/.DataConverter.wavedev

此项目的wavedev文件也可以查看here