Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile Error when BUILD_TESTING=ON #72

Open
felixf4xu opened this issue Aug 28, 2024 · 0 comments
Open

Compile Error when BUILD_TESTING=ON #72

felixf4xu opened this issue Aug 28, 2024 · 0 comments

Comments

@felixf4xu
Copy link

Hi,

I would like to try to run the test code, when I build

colcon build --merge-install --symlink-install --event-handlers console_direct+ --cmake-args -Wno-dev -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=ON --packages-select rosidl_typeadapter_protobuf_test

and I have this errors:

src/rosidl_typesupport_protobuf/rosidl_typeadapter_protobuf_test/test/subscribe_basic_types.cpp:21:10: fatal error: test_msgs/rosidl_adapter_proto__visibility_control.h: No such file or directory
   21 | #include "test_msgs/rosidl_adapter_proto__visibility_control.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I'm not sure where to find the rosidl_adapter_proto__visibility_control.h file, is it in ROS installation folder? I can't find it there.

Is it generated during compiling, but to which folder?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant