Skip to content

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

@cst0

Description

@cst0

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions