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

Build error: spot_msgs/Lease.h: No such file or directory #2

Open
cst0 opened this issue Sep 15, 2022 · 0 comments
Open

Build error: spot_msgs/Lease.h: No such file or directory #2

cst0 opened this issue Sep 15, 2022 · 0 comments

Comments

@cst0
Copy link
Owner

cst0 commented Sep 15, 2022

Error

When building (melodic, fresh clone and build):

In file included from /home/cst/ws_spot/devel/include/spot_msgs/LeaseArray.h:18:0,
                 from /home/cst/ws_spot/build/spot_ros/spot_viz/spot_viz_autogen/UVLADIE3JM/../../../../../src/spot_ros/spot_viz/src/spot_panel.hpp:13,
                 from /home/cst/ws_spot/build/spot_ros/spot_viz/spot_viz_autogen/UVLADIE3JM/moc_spot_panel.cpp:9,
                 from /home/cst/ws_spot/build/spot_ros/spot_viz/spot_viz_autogen/mocs_compilation.cpp:2:
/home/cst/ws_spot/devel/include/spot_msgs/LeaseResource.h:18:10: fatal error: spot_msgs/Lease.h: No such file or directory
 #include <spot_msgs/Lease.h>
          ^~~~~~~~~~~~~~~~~~~
compilation terminated.

Workaround

Re-running catkin_make resolves the issue and is an acceptable workaround. Appears to be a build structuring issue, long-term fix is to untangle the dependencies and figure that out.

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