Changes
Page history
Added KB "Failure to build ZPB from ICD"
authored
Sep 23, 2021
by
Marcus Schilling
Hide whitespace changes
Inline
Side-by-side
KnowledgeBase/CII.md
View page @
5dcc002f
[[
_TOC_
]]
### Failure to build ZPB from ICD \[ICD waf build\]
**Problem**
Building an ICD, I get the following error:
```
error: return type specification for constructor invalid
```
**Solution**
You have defined a struct containing a member of the same name ("feedback" in the example below). Rename one of the two.
```
<struct name="feedback">
<member name="feedback" type="float" arrayDimensions="(10)"/>
<member name="counter" type="uint32_t"/>
</struct>
```
**Background**
The code that gets generated for the member looks to the compiler like a mal-formed constructor.
### No cpp/python from ICD \[ICD waf build\]
**Problem**
...
...
...
...