Fast-DDS-Gen icon indicating copy to clipboard operation
Fast-DDS-Gen copied to clipboard

with -python parameter, sequence<string> and sequence<enum> reported error.

Open heliping opened this issue 7 months ago • 0 comments

use: fastddsgen -python and then cmake make

when making, there are some errors.

[ 33%] Swig compile RecipeData.i for python
/home/heliping/Fast-DDS/install/include/fastdds/dds/core/LoanableTypedCollection.hpp:68: Warning 389: operator[] ignored (consider using %extend)
/home/heliping/Fast-DDS/install/include/fastdds/dds/core/LoanableTypedCollection.hpp:93: Warning 389: operator[] ignored (consider using %extend)
/home/heliping/codei/pyi/pro_runner/proto/protoFiles/RecipeData.i:124: Error: Syntax error in input(1).
make[2]: *** [CMakeFiles/RecipeDataWrapper_swig_compilation.dir/build.make:76:CMakeFiles/RecipeDataWrapper.dir/RecipeDataPYTHON.stamp] 错误 1
make[2]: *** 正在删除文件“CMakeFiles/RecipeDataWrapper.dir/RecipeDataPYTHON.stamp”
make[1]: *** [CMakeFiles/Makefile2:140:CMakeFiles/RecipeDataWrapper_swig_compilation.dir/all] 错误 2
make[1]: *** 正在等待未完成的任务....

heliping avatar Jul 25 '24 08:07 heliping