Added "KB: No cpp/python from ICD" authored by Marcus Schilling's avatar Marcus Schilling
[[_TOC_]] [[_TOC_]]
### KB: No cpp/python from ICD \[ICD waf build\]
**Problem**
When I build my ICD, the build completes without errors or warnings,
but I find it has not generated any cpp and python classes for my ICD.
I do see protoc file, though
**Solution**
Check that you have specified all needed dependencies in your waf script.
The "requires" list needs to contain the following entries:
requires='cxx python cii protoc boost gtest nosetests pytest'
The full waf script for your project would look something like this:
```
declare_project(name='mytests',
version='1.0.0',
requires='cxx python cii protoc boost gtest nosetests pytest',
boost_libs='program_options',
cstd='gnu11',
cxx_std='gnu++14',
recurse='myconfig mylsvsim icd tests')
```
### KB: Mock OLDB for unit tests \[cpp\] ### KB: Mock OLDB for unit tests \[cpp\]
...@@ -1863,7 +1890,4 @@ This approach means OPC/UA Data Access read (and write) are synchronous, and may ...@@ -1863,7 +1890,4 @@ This approach means OPC/UA Data Access read (and write) are synchronous, and may
A test application showing its use is here: A test application showing its use is here:
<https://gitlab.eso.org/cosylab/elt-cii/mal/mal-test/-/blob/develop/cpp/mal-test-performance/opcua/mal-opcua-da-speed/src/common.cpp> <https://gitlab.eso.org/cosylab/elt-cii/mal/mal-test/-/blob/develop/cpp/mal-test-performance/opcua/mal-opcua-da-speed/src/common.cpp>
\ No newline at end of file