Changes
Page history
Update on "No cpp/py from ICD build"
authored
Nov 09, 2022
by
Marcus Schilling
Hide whitespace changes
Inline
Side-by-side
KnowledgeBase/CII.md
View page @
2ebc06e8
...
@@ -191,20 +191,27 @@ I do see protoc file, though
...
@@ -191,20 +191,27 @@ I do see protoc file, though
Check that you have specified all needed dependencies in your waf script.
Check that you have specified all needed dependencies in your waf script.
The "requires" list needs to contain the following entries:
The "requires" list needs to contain the following entries:
requires='cxx python
cii
protoc boost gtest nosetests pytest'
requires='cxx python protoc
fastdds
boost
cii
gtest nosetests pytest'
The full waf script for your project would look something like this:
The full waf script for your project would look something like this:
```
```
declare_project(name='mytests',
declare_project(name='mytests',
version='1.0.0',
version='1.0.0',
requires='cxx python
cii
protoc boost gtest nosetests pytest',
requires='cxx python protoc
fastdds
boost
cii
gtest nosetests pytest',
boost_libs='program_options',
boost_libs='program_options',
cstd='gnu11',
cstd='gnu11',
cxx_std='gnu++14',
cxx_std='gnu++14',
recurse='myconfig mylsvsim icd tests')
recurse='myconfig mylsvsim icd tests')
```
```
Also, note that in DevEnv 3.x the order of dependencies matters:
```
# Will not work, see the warnings during the 'waf configure' step.
requires='cxx python protoc fastdds cii boost gtest nosetests pytest pyqt5 sphinx'
# This order works
requires='cxx python protoc fastdds boost cii gtest nosetests pytest pyqt5 sphinx'
```
...
...
...
...