Ask Your Question
1

Cannot find duration__rosidl_typesupport_connext_c

asked 2017-11-23 12:17:48 -0500

updated 2017-11-24 05:55:16 -0500

Hello!

I am trying to compile ROS2 builtin_interfaces__rosidl_typesupport_c.dir/rosidl_typesupport_c for a non supported DDS and I am hurting this error:

[ 46%] Building CXX object CMakeFiles/builtin_interfaces__rosidl_typesupport_c.dir/rosidl_typesupport_c/builtin_interfaces/msg/duration__type_support.cpp.o
[ 50%] Building CXX object CMakeFiles/builtin_interfaces__rosidl_typesupport_c.dir/rosidl_typesupport_c/builtin_interfaces/msg/time__type_support.cpp.o
/usr/bin/c++   -Dbuiltin_interfaces__rosidl_typesupport_c_EXPORTS -I/ros2_src/build/builtin_interfaces/rosidl_typesupport_c -I/ros2_src/build/builtin_interfaces/rosidl_typesupport_connext_c -I/ros2_src/install/include -I/ros2_src/build/builtin_interfaces/rosidl_generator_c  -Wall -Wextra -Wpedantic -g -fPIC   -Wall -std=gnu++14 -o CMakeFiles/builtin_interfaces__rosidl_typesupport_c.dir/rosidl_typesupport_c/builtin_interfaces/msg/duration__type_support.cpp.o -c /ros2_src/build/builtin_interfaces/rosidl_typesupport_c/builtin_interfaces/msg/duration__type_support.cpp
/usr/bin/c++   -Dbuiltin_interfaces__rosidl_typesupport_c_EXPORTS -I/ros2_src/build/builtin_interfaces/rosidl_typesupport_c -I/ros2_src/build/builtin_interfaces/rosidl_typesupport_connext_c -I/ros2_src/install/include -I/ros2_src/build/builtin_interfaces/rosidl_generator_c  -Wall -Wextra -Wpedantic -g -fPIC   -Wall -std=gnu++14 -o CMakeFiles/builtin_interfaces__rosidl_typesupport_c.dir/rosidl_typesupport_c/builtin_interfaces/msg/time__type_support.cpp.o -c /ros2_src/build/builtin_interfaces/rosidl_typesupport_c/builtin_interfaces/msg/time__type_support.cpp
/ros2_src/build/builtin_interfaces/rosidl_typesupport_c/builtin_interfaces/msg/duration__type_support.cpp:16:77: fatal error: builtin_interfaces/msg/duration__rosidl_typesupport_connext_c.h: No such file or directory
compilation terminated.

I cannot find where the duration__rosidl_typesupport_connext_c.h is generated. Could you tell me where it is?

Thanks :)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-11-28 12:39:03 -0500

Found it.

It was under rosidl_default_generators/rosidl_default_generators-extras.cmake.in

set(_exported_dependencies HERE )

And I forgot to add my dependency.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-11-23 12:17:48 -0500

Seen: 58 times

Last updated: Nov 28 '17