Skip to content

cmake cyclic dependency #42

@knorth55

Description

@knorth55

cmake tests now has cyclic dependency because of #36 , which causes build error.

_______________________________________________________________________________________________________________________________________
Errors     << robot_calibration:check /home/knorth55/gitai/coverage_ws/logs/robot_calibration/build.check.004.log
CMake Error: The inter-target dependency graph contains the following strongly connected component (cycle):
  "tests" of type UTILITY
    depends on "robot_calibration_coverage_report_cleanup_cpp" (strong)
  "robot_calibration_coverage_report_cleanup_cpp" of type UTILITY
    depends on "tests" (strong)
At least one of these targets is not a STATIC_LIBRARY.  Cyclic dependencies are allowed only among static libraries.
CMake Generate step failed.  Build files cannot be regenerated correctly.
make: *** [Makefile:2972: cmake_check_build_system] Error 1
cd /home/knorth55/gitai/coverage_ws/build/robot_calibration; catkin build --get-env robot_calibration | catkin env -si  /usr/bin/make cmake_check_build_system; cd -

.......................................................................................................................................
Failed     << robot_calibration:check               [ Exited with code 2 ]
Failed    <<< robot_calibration                     [ 1.5 seconds ]

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