流程通

This commit is contained in:
flower
2026-01-19 20:31:11 +08:00
parent 056289625c
commit 1600ae8040
252 changed files with 39586 additions and 20 deletions

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,117 @@
[0.045s] DEBUG:colcon:Command line arguments: ['/usr/bin/colcon', 'build', '--symlink-install', '--cmake-args', '-DCMAKE_BUILD_TYPE=Release']
[0.045s] DEBUG:colcon:Parsed command line arguments: Namespace(log_base=None, log_level=None, verb_name='build', build_base='build', install_base='install', merge_install=False, symlink_install=True, test_result_base=None, continue_on_error=False, executor='parallel', parallel_workers=24, event_handlers=None, ignore_user_meta=False, metas=['./colcon.meta'], base_paths=['.'], packages_ignore=None, packages_ignore_regex=None, paths=None, packages_up_to=None, packages_up_to_regex=None, packages_above=None, packages_above_and_dependencies=None, packages_above_depth=None, packages_select_by_dep=None, packages_skip_by_dep=None, packages_skip_up_to=None, packages_select_build_failed=False, packages_skip_build_finished=False, packages_select_test_failures=False, packages_skip_test_passed=False, packages_select=None, packages_skip=None, packages_select_regex=None, packages_skip_regex=None, packages_start=None, packages_end=None, allow_overriding=[], cmake_args=['-DCMAKE_BUILD_TYPE=Release'], cmake_target=None, cmake_target_skip_unavailable=False, cmake_clean_cache=False, cmake_clean_first=False, cmake_force_configure=False, ament_cmake_args=None, catkin_cmake_args=None, catkin_skip_building_tests=False, verb_parser=<colcon_defaults.argument_parser.defaults.DefaultArgumentsDecorator object at 0x7bafe0432d10>, verb_extension=<colcon_core.verb.build.BuildVerb object at 0x7bafe05781c0>, main=<bound method BuildVerb.main of <colcon_core.verb.build.BuildVerb object at 0x7bafe05781c0>>)
[0.116s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) check parameters
[0.116s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) check parameters
[0.116s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) check parameters
[0.116s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) check parameters
[0.116s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) discover
[0.116s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) discover
[0.116s] INFO:colcon.colcon_core.package_discovery:Crawling recursively for packages in '/home/flower/code/camera/flyLink/skylink_ros2'
[0.116s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ignore', 'ignore_ament_install']
[0.116s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore'
[0.116s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore_ament_install'
[0.116s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_pkg']
[0.116s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_pkg'
[0.116s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_meta']
[0.116s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_meta'
[0.116s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ros']
[0.116s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ros'
[0.122s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['cmake', 'python']
[0.122s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'cmake'
[0.122s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'python'
[0.122s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['python_setup_py']
[0.122s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'python_setup_py'
[0.122s] Level 1:colcon.colcon_core.package_identification:_identify(build) by extensions ['ignore', 'ignore_ament_install']
[0.122s] Level 1:colcon.colcon_core.package_identification:_identify(build) by extension 'ignore'
[0.122s] Level 1:colcon.colcon_core.package_identification:_identify(build) ignored
[0.122s] Level 1:colcon.colcon_core.package_identification:_identify(install) by extensions ['ignore', 'ignore_ament_install']
[0.122s] Level 1:colcon.colcon_core.package_identification:_identify(install) by extension 'ignore'
[0.122s] Level 1:colcon.colcon_core.package_identification:_identify(install) ignored
[0.122s] Level 1:colcon.colcon_core.package_identification:_identify(log) by extensions ['ignore', 'ignore_ament_install']
[0.122s] Level 1:colcon.colcon_core.package_identification:_identify(log) by extension 'ignore'
[0.122s] Level 1:colcon.colcon_core.package_identification:_identify(log) ignored
[0.122s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extensions ['ignore', 'ignore_ament_install']
[0.122s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'ignore'
[0.122s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'ignore_ament_install'
[0.122s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extensions ['colcon_pkg']
[0.122s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'colcon_pkg'
[0.122s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extensions ['colcon_meta']
[0.122s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'colcon_meta'
[0.122s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extensions ['ros']
[0.122s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'ros'
[0.122s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extensions ['cmake', 'python']
[0.122s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'cmake'
[0.122s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'python'
[0.122s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extensions ['python_setup_py']
[0.122s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'python_setup_py'
[0.122s] Level 1:colcon.colcon_core.package_identification:_identify(src/skylink_bridge) by extensions ['ignore', 'ignore_ament_install']
[0.122s] Level 1:colcon.colcon_core.package_identification:_identify(src/skylink_bridge) by extension 'ignore'
[0.122s] Level 1:colcon.colcon_core.package_identification:_identify(src/skylink_bridge) by extension 'ignore_ament_install'
[0.122s] Level 1:colcon.colcon_core.package_identification:_identify(src/skylink_bridge) by extensions ['colcon_pkg']
[0.122s] Level 1:colcon.colcon_core.package_identification:_identify(src/skylink_bridge) by extension 'colcon_pkg'
[0.122s] Level 1:colcon.colcon_core.package_identification:_identify(src/skylink_bridge) by extensions ['colcon_meta']
[0.123s] Level 1:colcon.colcon_core.package_identification:_identify(src/skylink_bridge) by extension 'colcon_meta'
[0.123s] Level 1:colcon.colcon_core.package_identification:_identify(src/skylink_bridge) by extensions ['ros']
[0.123s] Level 1:colcon.colcon_core.package_identification:_identify(src/skylink_bridge) by extension 'ros'
[0.124s] DEBUG:colcon.colcon_core.package_identification:Package 'src/skylink_bridge' with type 'ros.ament_cmake' and name 'skylink_bridge'
[0.124s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) using defaults
[0.124s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) discover
[0.124s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) using defaults
[0.124s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) discover
[0.124s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) using defaults
[0.133s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) check parameters
[0.133s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) discover
[0.138s] DEBUG:colcon.colcon_installed_package_information.package_discovery:Found 273 installed packages in /opt/ros/humble
[0.138s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) using defaults
[0.153s] Level 5:colcon.colcon_core.verb:set package 'skylink_bridge' build argument 'cmake_args' from command line to '['-DCMAKE_BUILD_TYPE=Release']'
[0.154s] Level 5:colcon.colcon_core.verb:set package 'skylink_bridge' build argument 'cmake_target' from command line to 'None'
[0.154s] Level 5:colcon.colcon_core.verb:set package 'skylink_bridge' build argument 'cmake_target_skip_unavailable' from command line to 'False'
[0.154s] Level 5:colcon.colcon_core.verb:set package 'skylink_bridge' build argument 'cmake_clean_cache' from command line to 'False'
[0.154s] Level 5:colcon.colcon_core.verb:set package 'skylink_bridge' build argument 'cmake_clean_first' from command line to 'False'
[0.154s] Level 5:colcon.colcon_core.verb:set package 'skylink_bridge' build argument 'cmake_force_configure' from command line to 'False'
[0.154s] Level 5:colcon.colcon_core.verb:set package 'skylink_bridge' build argument 'ament_cmake_args' from command line to 'None'
[0.154s] Level 5:colcon.colcon_core.verb:set package 'skylink_bridge' build argument 'catkin_cmake_args' from command line to 'None'
[0.154s] Level 5:colcon.colcon_core.verb:set package 'skylink_bridge' build argument 'catkin_skip_building_tests' from command line to 'False'
[0.154s] DEBUG:colcon.colcon_core.verb:Building package 'skylink_bridge' with the following arguments: {'ament_cmake_args': None, 'build_base': '/home/flower/code/camera/flyLink/skylink_ros2/build/skylink_bridge', 'catkin_cmake_args': None, 'catkin_skip_building_tests': False, 'cmake_args': ['-DCMAKE_BUILD_TYPE=Release'], 'cmake_clean_cache': False, 'cmake_clean_first': False, 'cmake_force_configure': False, 'cmake_target': None, 'cmake_target_skip_unavailable': False, 'install_base': '/home/flower/code/camera/flyLink/skylink_ros2/install/skylink_bridge', 'merge_install': False, 'path': '/home/flower/code/camera/flyLink/skylink_ros2/src/skylink_bridge', 'symlink_install': True, 'test_result_base': None}
[0.154s] INFO:colcon.colcon_core.executor:Executing jobs using 'parallel' executor
[0.154s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete
[0.154s] INFO:colcon.colcon_ros.task.ament_cmake.build:Building ROS package in '/home/flower/code/camera/flyLink/skylink_ros2/src/skylink_bridge' with build type 'ament_cmake'
[0.154s] INFO:colcon.colcon_cmake.task.cmake.build:Building CMake package in '/home/flower/code/camera/flyLink/skylink_ros2/src/skylink_bridge'
[0.155s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_core.shell.bat': Not used on non-Windows systems
[0.155s] INFO:colcon.colcon_core.shell:Skip shell extension 'powershell' for command environment: Not usable outside of PowerShell
[0.155s] DEBUG:colcon.colcon_core.shell:Skip shell extension 'dsv' for command environment
[0.160s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoking command in '/home/flower/code/camera/flyLink/skylink_ros2/build/skylink_bridge': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake /home/flower/code/camera/flyLink/skylink_ros2/src/skylink_bridge -DCMAKE_BUILD_TYPE=Release -DAMENT_CMAKE_SYMLINK_INSTALL=1 -DCMAKE_INSTALL_PREFIX=/home/flower/code/camera/flyLink/skylink_ros2/install/skylink_bridge
[0.951s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoked command in '/home/flower/code/camera/flyLink/skylink_ros2/build/skylink_bridge' returned '0': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake /home/flower/code/camera/flyLink/skylink_ros2/src/skylink_bridge -DCMAKE_BUILD_TYPE=Release -DAMENT_CMAKE_SYMLINK_INSTALL=1 -DCMAKE_INSTALL_PREFIX=/home/flower/code/camera/flyLink/skylink_ros2/install/skylink_bridge
[0.951s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoking command in '/home/flower/code/camera/flyLink/skylink_ros2/build/skylink_bridge': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --build /home/flower/code/camera/flyLink/skylink_ros2/build/skylink_bridge -- -j24 -l24
[1.167s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoked command in '/home/flower/code/camera/flyLink/skylink_ros2/build/skylink_bridge' returned '2': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --build /home/flower/code/camera/flyLink/skylink_ros2/build/skylink_bridge -- -j24 -l24
[1.167s] Level 1:colcon.colcon_core.environment:create_environment_scripts_only(skylink_bridge)
[1.168s] Level 1:colcon.colcon_core.environment:checking '/home/flower/code/camera/flyLink/skylink_ros2/install/skylink_bridge' for CMake module files
[1.168s] Level 1:colcon.colcon_core.environment:checking '/home/flower/code/camera/flyLink/skylink_ros2/install/skylink_bridge' for CMake config files
[1.168s] Level 1:colcon.colcon_core.environment:checking '/home/flower/code/camera/flyLink/skylink_ros2/install/skylink_bridge/bin'
[1.169s] Level 1:colcon.colcon_core.environment:checking '/home/flower/code/camera/flyLink/skylink_ros2/install/skylink_bridge/lib/pkgconfig/skylink_bridge.pc'
[1.169s] Level 1:colcon.colcon_core.environment:checking '/home/flower/code/camera/flyLink/skylink_ros2/install/skylink_bridge/lib/python3.10/site-packages'
[1.169s] Level 1:colcon.colcon_core.environment:checking '/home/flower/code/camera/flyLink/skylink_ros2/install/skylink_bridge/bin'
[1.169s] INFO:colcon.colcon_core.shell:Creating package script '/home/flower/code/camera/flyLink/skylink_ros2/install/skylink_bridge/share/skylink_bridge/package.ps1'
[1.169s] INFO:colcon.colcon_core.shell:Creating package descriptor '/home/flower/code/camera/flyLink/skylink_ros2/install/skylink_bridge/share/skylink_bridge/package.dsv'
[1.169s] INFO:colcon.colcon_core.shell:Creating package script '/home/flower/code/camera/flyLink/skylink_ros2/install/skylink_bridge/share/skylink_bridge/package.sh'
[1.170s] INFO:colcon.colcon_core.shell:Creating package script '/home/flower/code/camera/flyLink/skylink_ros2/install/skylink_bridge/share/skylink_bridge/package.bash'
[1.170s] INFO:colcon.colcon_core.shell:Creating package script '/home/flower/code/camera/flyLink/skylink_ros2/install/skylink_bridge/share/skylink_bridge/package.zsh'
[1.170s] Level 1:colcon.colcon_core.environment:create_file_with_runtime_dependencies(/home/flower/code/camera/flyLink/skylink_ros2/install/skylink_bridge/share/colcon-core/packages/skylink_bridge)
[1.181s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:closing loop
[1.181s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:loop closed
[1.181s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete finished with '2'
[1.181s] DEBUG:colcon.colcon_core.event_reactor:joining thread
[1.185s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.terminal_notifier': Not used on non-Darwin systems
[1.185s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.win32': Not used on non-Windows systems
[1.185s] INFO:colcon.colcon_notification.desktop_notification:Sending desktop notification using 'notify2'
[1.193s] DEBUG:colcon.colcon_core.event_reactor:joined thread
[1.193s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/flower/code/camera/flyLink/skylink_ros2/install/local_setup.ps1'
[1.193s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/flower/code/camera/flyLink/skylink_ros2/install/_local_setup_util_ps1.py'
[1.194s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/flower/code/camera/flyLink/skylink_ros2/install/setup.ps1'
[1.194s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/flower/code/camera/flyLink/skylink_ros2/install/local_setup.sh'
[1.194s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/flower/code/camera/flyLink/skylink_ros2/install/_local_setup_util_sh.py'
[1.195s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/flower/code/camera/flyLink/skylink_ros2/install/setup.sh'
[1.195s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/flower/code/camera/flyLink/skylink_ros2/install/local_setup.bash'
[1.195s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/flower/code/camera/flyLink/skylink_ros2/install/setup.bash'
[1.195s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/flower/code/camera/flyLink/skylink_ros2/install/local_setup.zsh'
[1.196s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/flower/code/camera/flyLink/skylink_ros2/install/setup.zsh'

View File

@@ -0,0 +1,4 @@
Invoking command in '/home/flower/code/camera/flyLink/skylink_ros2/build/skylink_bridge': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake /home/flower/code/camera/flyLink/skylink_ros2/src/skylink_bridge -DCMAKE_BUILD_TYPE=Release -DAMENT_CMAKE_SYMLINK_INSTALL=1 -DCMAKE_INSTALL_PREFIX=/home/flower/code/camera/flyLink/skylink_ros2/install/skylink_bridge
Invoked command in '/home/flower/code/camera/flyLink/skylink_ros2/build/skylink_bridge' returned '0': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake /home/flower/code/camera/flyLink/skylink_ros2/src/skylink_bridge -DCMAKE_BUILD_TYPE=Release -DAMENT_CMAKE_SYMLINK_INSTALL=1 -DCMAKE_INSTALL_PREFIX=/home/flower/code/camera/flyLink/skylink_ros2/install/skylink_bridge
Invoking command in '/home/flower/code/camera/flyLink/skylink_ros2/build/skylink_bridge': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --build /home/flower/code/camera/flyLink/skylink_ros2/build/skylink_bridge -- -j24 -l24
Invoked command in '/home/flower/code/camera/flyLink/skylink_ros2/build/skylink_bridge' returned '2': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --build /home/flower/code/camera/flyLink/skylink_ros2/build/skylink_bridge -- -j24 -l24

View File

@@ -0,0 +1,7 @@
/home/flower/code/camera/flyLink/skylink_ros2/src/skylink_bridge/src/udp_sender_node.cpp:12:10: fatal error: socket.h: 没有那个文件或目录
12 | #include <socket.h>
| ^~~~~~~~~~
compilation terminated.
gmake[2]: *** [CMakeFiles/udp_sender_node.dir/build.make:76CMakeFiles/udp_sender_node.dir/src/udp_sender_node.cpp.o] 错误 1
gmake[1]: *** [CMakeFiles/Makefile2:137CMakeFiles/udp_sender_node.dir/all] 错误 2
gmake: *** [Makefile:146all] 错误 2

View File

@@ -0,0 +1,35 @@
-- The CXX compiler identification is GNU 12.3.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found ament_cmake: 1.3.11 (/opt/ros/humble/share/ament_cmake/cmake)
-- Found Python3: /usr/bin/python3 (found version "3.10.12") found components: Interpreter
-- Override CMake install command with custom implementation using symlinks instead of copying resources
-- Found rclcpp: 16.0.11 (/opt/ros/humble/share/rclcpp/cmake)
-- Found rosidl_generator_c: 3.1.6 (/opt/ros/humble/share/rosidl_generator_c/cmake)
-- Found rosidl_adapter: 3.1.6 (/opt/ros/humble/share/rosidl_adapter/cmake)
-- Found rosidl_generator_cpp: 3.1.6 (/opt/ros/humble/share/rosidl_generator_cpp/cmake)
-- Using all available rosidl_typesupport_c: rosidl_typesupport_fastrtps_c;rosidl_typesupport_introspection_c
-- Using all available rosidl_typesupport_cpp: rosidl_typesupport_fastrtps_cpp;rosidl_typesupport_introspection_cpp
-- Found rmw_implementation_cmake: 6.1.2 (/opt/ros/humble/share/rmw_implementation_cmake/cmake)
-- Found rmw_fastrtps_cpp: 6.2.7 (/opt/ros/humble/share/rmw_fastrtps_cpp/cmake)
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "3.0.2")
-- Found FastRTPS: /opt/ros/humble/include
-- Using RMW implementation 'rmw_fastrtps_cpp' as default
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found sensor_msgs: 4.2.4 (/opt/ros/humble/share/sensor_msgs/cmake)
-- Found cv_bridge: 3.2.1 (/opt/ros/humble/share/cv_bridge/cmake)
-- Found image_transport: 3.1.10 (/opt/ros/humble/share/image_transport/cmake)
-- Found mavros_msgs: 2.14.0 (/opt/ros/humble/share/mavros_msgs/cmake)
-- Found OpenCV: /usr (found version "4.5.4") found components: core imgproc
-- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so (found version "80")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/flower/code/camera/flyLink/skylink_ros2/build/skylink_bridge
[ 50%] Building CXX object CMakeFiles/udp_sender_node.dir/src/udp_sender_node.cpp.o

View File

@@ -0,0 +1,42 @@
-- The CXX compiler identification is GNU 12.3.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found ament_cmake: 1.3.11 (/opt/ros/humble/share/ament_cmake/cmake)
-- Found Python3: /usr/bin/python3 (found version "3.10.12") found components: Interpreter
-- Override CMake install command with custom implementation using symlinks instead of copying resources
-- Found rclcpp: 16.0.11 (/opt/ros/humble/share/rclcpp/cmake)
-- Found rosidl_generator_c: 3.1.6 (/opt/ros/humble/share/rosidl_generator_c/cmake)
-- Found rosidl_adapter: 3.1.6 (/opt/ros/humble/share/rosidl_adapter/cmake)
-- Found rosidl_generator_cpp: 3.1.6 (/opt/ros/humble/share/rosidl_generator_cpp/cmake)
-- Using all available rosidl_typesupport_c: rosidl_typesupport_fastrtps_c;rosidl_typesupport_introspection_c
-- Using all available rosidl_typesupport_cpp: rosidl_typesupport_fastrtps_cpp;rosidl_typesupport_introspection_cpp
-- Found rmw_implementation_cmake: 6.1.2 (/opt/ros/humble/share/rmw_implementation_cmake/cmake)
-- Found rmw_fastrtps_cpp: 6.2.7 (/opt/ros/humble/share/rmw_fastrtps_cpp/cmake)
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "3.0.2")
-- Found FastRTPS: /opt/ros/humble/include
-- Using RMW implementation 'rmw_fastrtps_cpp' as default
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found sensor_msgs: 4.2.4 (/opt/ros/humble/share/sensor_msgs/cmake)
-- Found cv_bridge: 3.2.1 (/opt/ros/humble/share/cv_bridge/cmake)
-- Found image_transport: 3.1.10 (/opt/ros/humble/share/image_transport/cmake)
-- Found mavros_msgs: 2.14.0 (/opt/ros/humble/share/mavros_msgs/cmake)
-- Found OpenCV: /usr (found version "4.5.4") found components: core imgproc
-- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so (found version "80")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/flower/code/camera/flyLink/skylink_ros2/build/skylink_bridge
[ 50%] Building CXX object CMakeFiles/udp_sender_node.dir/src/udp_sender_node.cpp.o
/home/flower/code/camera/flyLink/skylink_ros2/src/skylink_bridge/src/udp_sender_node.cpp:12:10: fatal error: socket.h: 没有那个文件或目录
12 | #include <socket.h>
| ^~~~~~~~~~
compilation terminated.
gmake[2]: *** [CMakeFiles/udp_sender_node.dir/build.make:76CMakeFiles/udp_sender_node.dir/src/udp_sender_node.cpp.o] 错误 1
gmake[1]: *** [CMakeFiles/Makefile2:137CMakeFiles/udp_sender_node.dir/all] 错误 2
gmake: *** [Makefile:146all] 错误 2

View File

@@ -0,0 +1,46 @@
[0.005s] Invoking command in '/home/flower/code/camera/flyLink/skylink_ros2/build/skylink_bridge': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake /home/flower/code/camera/flyLink/skylink_ros2/src/skylink_bridge -DCMAKE_BUILD_TYPE=Release -DAMENT_CMAKE_SYMLINK_INSTALL=1 -DCMAKE_INSTALL_PREFIX=/home/flower/code/camera/flyLink/skylink_ros2/install/skylink_bridge
[0.050s] -- The CXX compiler identification is GNU 12.3.0
[0.054s] -- Detecting CXX compiler ABI info
[0.104s] -- Detecting CXX compiler ABI info - done
[0.109s] -- Check for working CXX compiler: /usr/bin/c++ - skipped
[0.109s] -- Detecting CXX compile features
[0.109s] -- Detecting CXX compile features - done
[0.111s] -- Found ament_cmake: 1.3.11 (/opt/ros/humble/share/ament_cmake/cmake)
[0.207s] -- Found Python3: /usr/bin/python3 (found version "3.10.12") found components: Interpreter
[0.238s] -- Override CMake install command with custom implementation using symlinks instead of copying resources
[0.255s] -- Found rclcpp: 16.0.11 (/opt/ros/humble/share/rclcpp/cmake)
[0.280s] -- Found rosidl_generator_c: 3.1.6 (/opt/ros/humble/share/rosidl_generator_c/cmake)
[0.283s] -- Found rosidl_adapter: 3.1.6 (/opt/ros/humble/share/rosidl_adapter/cmake)
[0.287s] -- Found rosidl_generator_cpp: 3.1.6 (/opt/ros/humble/share/rosidl_generator_cpp/cmake)
[0.293s] -- Using all available rosidl_typesupport_c: rosidl_typesupport_fastrtps_c;rosidl_typesupport_introspection_c
[0.302s] -- Using all available rosidl_typesupport_cpp: rosidl_typesupport_fastrtps_cpp;rosidl_typesupport_introspection_cpp
[0.324s] -- Found rmw_implementation_cmake: 6.1.2 (/opt/ros/humble/share/rmw_implementation_cmake/cmake)
[0.325s] -- Found rmw_fastrtps_cpp: 6.2.7 (/opt/ros/humble/share/rmw_fastrtps_cpp/cmake)
[0.378s] -- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "3.0.2")
[0.394s] -- Found FastRTPS: /opt/ros/humble/include
[0.419s] -- Using RMW implementation 'rmw_fastrtps_cpp' as default
[0.423s] -- Looking for C++ include pthread.h
[0.477s] -- Looking for C++ include pthread.h - found
[0.477s] -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
[0.538s] -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
[0.539s] -- Found Threads: TRUE
[0.564s] -- Found sensor_msgs: 4.2.4 (/opt/ros/humble/share/sensor_msgs/cmake)
[0.579s] -- Found cv_bridge: 3.2.1 (/opt/ros/humble/share/cv_bridge/cmake)
[0.585s] -- Found image_transport: 3.1.10 (/opt/ros/humble/share/image_transport/cmake)
[0.601s] -- Found mavros_msgs: 2.14.0 (/opt/ros/humble/share/mavros_msgs/cmake)
[0.629s] -- Found OpenCV: /usr (found version "4.5.4") found components: core imgproc
[0.635s] -- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so (found version "80")
[0.674s] -- Configuring done
[0.779s] -- Generating done
[0.790s] -- Build files have been written to: /home/flower/code/camera/flyLink/skylink_ros2/build/skylink_bridge
[0.796s] Invoked command in '/home/flower/code/camera/flyLink/skylink_ros2/build/skylink_bridge' returned '0': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake /home/flower/code/camera/flyLink/skylink_ros2/src/skylink_bridge -DCMAKE_BUILD_TYPE=Release -DAMENT_CMAKE_SYMLINK_INSTALL=1 -DCMAKE_INSTALL_PREFIX=/home/flower/code/camera/flyLink/skylink_ros2/install/skylink_bridge
[0.797s] Invoking command in '/home/flower/code/camera/flyLink/skylink_ros2/build/skylink_bridge': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --build /home/flower/code/camera/flyLink/skylink_ros2/build/skylink_bridge -- -j24 -l24
[0.862s] [ 50%] Building CXX object CMakeFiles/udp_sender_node.dir/src/udp_sender_node.cpp.o
[1.007s] /home/flower/code/camera/flyLink/skylink_ros2/src/skylink_bridge/src/udp_sender_node.cpp:12:10: fatal error: socket.h: 没有那个文件或目录
[1.007s] 12 | #include <socket.h>
[1.007s] | ^~~~~~~~~~
[1.007s] compilation terminated.
[1.010s] gmake[2]: *** [CMakeFiles/udp_sender_node.dir/build.make:76CMakeFiles/udp_sender_node.dir/src/udp_sender_node.cpp.o] 错误 1
[1.010s] gmake[1]: *** [CMakeFiles/Makefile2:137CMakeFiles/udp_sender_node.dir/all] 错误 2
[1.010s] gmake: *** [Makefile:146all] 错误 2
[1.012s] Invoked command in '/home/flower/code/camera/flyLink/skylink_ros2/build/skylink_bridge' returned '2': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --build /home/flower/code/camera/flyLink/skylink_ros2/build/skylink_bridge -- -j24 -l24