Skip to content

compile issue #1

@BrutusTT

Description

@BrutusTT

Installing WCS in a fresh workspace gives the following error:

-- +++ processing catkin package: 'communication_node'
-- ==> add_subdirectory(WCS/communication_node)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- Generating .msg files for action communication_node/Registration /home/ubuntu/catkin_ws/src/WCS/communication_node/action/Registration.action
CMake Error at /opt/ros/kinetic/share/genmsg/cmake/genmsg-extras.cmake:263 (message):
Messages depends on unknown pkg: sample_packages (Missing
'find_package(sample_packages)'?)
Call Stack (most recent call first):
WCS/communication_node/CMakeLists.txt:89 (generate_messages)

It seems to me that the communication_node depends on sample_packages, but adding it as a build dependency (package.xml) gives a circular dependency error. On the other side, removing the dependency in the CMakeList.txt of the communication_node gives compilation errors in the that package.

How do I break the cycle properly?

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