Added KB "Failure to build ZPB from ICD" authored by Marcus Schilling's avatar Marcus Schilling
[[_TOC_]] [[_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\] ### No cpp/python from ICD \[ICD waf build\]
**Problem** **Problem**
... ...
......