Skip to content

Colcon build didn't work #1

Description

@hanselhermawan

Hey, I got this error when I tried to colcon build your code:
Starting >>> lane_line_msgs
Starting >>> py_advanced_lane_lines
/home/hanselh/.local/lib/python3.10/site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!

    ********************************************************************************
    Usage of dash-separated 'script-dir' will not be supported in future
    versions. Please use the underscore name 'script_dir' instead.

    By 2023-Sep-26, you need to update your project and remove deprecated calls
    or your builds will no longer be supported.

    See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
    ********************************************************************************

!!
opt = self.warn_dash_deprecation(opt, section)
/home/hanselh/.local/lib/python3.10/site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!

    ********************************************************************************
    Usage of dash-separated 'install-scripts' will not be supported in future
    versions. Please use the underscore name 'install_scripts' instead.

    By 2023-Sep-26, you need to update your project and remove deprecated calls
    or your builds will no longer be supported.

    See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
    ********************************************************************************

!!
opt = self.warn_dash_deprecation(opt, section)
--- stderr: lane_line_msgs
CMake Error: The current CMakeCache.txt directory /home/hanselh/lane_detection_ws/build/lane_line_msgs/CMakeCache.txt is different than the directory /home/hanselh/lane_detection_mandarin_ws/build/lane_line_msgs where CMakeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt
CMake Error: The source directory "/home/hanselh/lane_detection_mandarin_ws/src/Lane-line-detection-ROS2-Python/lane_line_msgs" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
gmake: *** [Makefile:747: cmake_check_build_system] Error 1

Failed <<< lane_line_msgs [0.62s, exited with code 2]
Aborted <<< py_advanced_lane_lines [1.38s]

Summary: 0 packages finished [2.41s]
1 package failed: lane_line_msgs
1 package aborted: py_advanced_lane_lines
1 package had stderr output: lane_line_msgs

Do you know where the potential problem is based on this error ?
Thanks in advance

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