Ask Your Question

# Revision history [back]

### ros2 rttest example build error

hi, i try to use https://github.com/ros2/rttest , but when i want to build the examples, it returns errors when running "make"

rttest/build/include/rttest/rttest.h:29:21: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘=’ token size_t iterations = 0, ^

and some other lines with the same style of error ? in rttest.h is a struct, with the first entry with the line of above error ?

including stddef.h or changing size_t to unsigned int, doesnt change anything from the style of error ?

thanks for help flo

 2 No.2 Revision gvdhoorn 58547 ●133 ●464 ●708 http://cor.tudelft.nl/

### ros2 rttest example build error

hi, i try to use https://github.com/ros2/rttest , but when i want to build the examples, it returns errors when running "make"make:

rttest/build/include/rttest/rttest.h:29:21: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘=’ token
size_t iterations = 0,
^^


and some other lines with the same style of error ? in rttest.h is a struct, with the first entry with the line of above error ?

including stddef.h stddef.h or changing size_t size_t to unsigned int, int, doesnt change anything from the style of error ?

thanks for help flo