This commit is contained in:
Quella777
2025-08-24 15:56:33 +08:00
parent 779497c09e
commit ba6b299509
83 changed files with 3100 additions and 116 deletions

View File

@@ -0,0 +1,20 @@
[0.000000] (-) TimerEvent: {}
[0.000191] (service_server) JobQueued: {'identifier': 'service_server', 'dependencies': OrderedDict()}
[0.000236] (service_server) JobStarted: {'identifier': 'service_server'}
[0.008908] (service_server) JobProgress: {'identifier': 'service_server', 'progress': 'cmake'}
[0.009566] (service_server) JobProgress: {'identifier': 'service_server', 'progress': 'build'}
[0.010131] (service_server) Command: {'cmd': ['/usr/bin/cmake', '--build', '/home/quella/ROS2Demo/service/service_server/build/service_server', '--', '-j16', '-l16'], 'cwd': '/home/quella/ROS2Demo/service/service_server/build/service_server', 'env': OrderedDict([('LESSOPEN', '| /usr/bin/lesspipe %s'), ('LANGUAGE', 'zh_CN:en'), ('USER', 'quella'), ('SSH_CLIENT', '192.168.138.1 56885 22'), ('LC_TIME', 'zh_CN.UTF-8'), ('XDG_SESSION_TYPE', 'tty'), ('GIT_ASKPASS', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/extensions/git/dist/askpass.sh'), ('SHLVL', '1'), ('LD_LIBRARY_PATH', '/opt/ros/humble/opt/rviz_ogre_vendor/lib:/opt/ros/humble/lib/x86_64-linux-gnu:/opt/ros/humble/lib'), ('BROWSER', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/bin/helpers/browser.sh'), ('MOTD_SHOWN', 'pam'), ('HOME', '/home/quella'), ('OLDPWD', '/home/quella/ROS2Demo/service'), ('TERM_PROGRAM_VERSION', '1.102.3'), ('VSCODE_IPC_HOOK_CLI', '/run/user/1000/vscode-ipc-701649cf-a59b-4d57-8f34-46f3987c9e4c.sock'), ('ROS_PYTHON_VERSION', '3'), ('VSCODE_GIT_ASKPASS_MAIN', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/extensions/git/dist/askpass-main.js'), ('LC_MONETARY', 'zh_CN.UTF-8'), ('VSCODE_GIT_ASKPASS_NODE', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/node'), ('SSL_CERT_FILE', '/usr/lib/ssl/certs/ca-certificates.crt'), ('DBUS_SESSION_BUS_ADDRESS', 'unix:path=/run/user/1000/bus'), ('COLORTERM', 'truecolor'), ('ROS_DISTRO', 'humble'), ('LOGNAME', 'quella'), ('_', '/usr/bin/colcon'), ('ROS_VERSION', '2'), ('XDG_SESSION_CLASS', 'user'), ('TERM', 'xterm-256color'), ('XDG_SESSION_ID', '48'), ('ROS_LOCALHOST_ONLY', '0'), ('PATH', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/bin/remote-cli:/opt/ros/humble/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/quella/.vscode-server/data/User/globalStorage/github.copilot-chat/debugCommand'), ('PAPERSIZE', 'a4'), ('LC_ADDRESS', 'zh_CN.UTF-8'), ('XDG_RUNTIME_DIR', '/run/user/1000'), ('SSL_CERT_DIR', '/usr/lib/ssl/certs'), ('LANG', 'zh_CN.UTF-8'), ('LC_TELEPHONE', 'zh_CN.UTF-8'), ('LS_COLORS', 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:'), ('VSCODE_GIT_IPC_HANDLE', '/run/user/1000/vscode-git-f2cad408e9.sock'), ('TERM_PROGRAM', 'vscode'), ('AMENT_PREFIX_PATH', '/opt/ros/humble'), ('SHELL', '/bin/bash'), ('LC_NAME', 'zh_CN.UTF-8'), ('LESSCLOSE', '/usr/bin/lesspipe %s %s'), ('LC_MEASUREMENT', 'zh_CN.UTF-8'), ('LC_IDENTIFICATION', 'zh_CN.UTF-8'), ('VSCODE_GIT_ASKPASS_EXTRA_ARGS', ''), ('PWD', '/home/quella/ROS2Demo/service/service_server/build/service_server'), ('SSH_CONNECTION', '192.168.138.1 56885 192.168.138.137 22'), ('XDG_DATA_DIRS', '/usr/share/gnome:/usr/local/share:/usr/share:/var/lib/snapd/desktop'), ('PYTHONPATH', '/opt/ros/humble/lib/python3.10/site-packages:/opt/ros/humble/local/lib/python3.10/dist-packages'), ('LC_NUMERIC', 'zh_CN.UTF-8'), ('LC_PAPER', 'zh_CN.UTF-8'), ('COLCON', '1'), ('CMAKE_PREFIX_PATH', '/opt/ros/humble')]), 'shell': False}
[0.094614] (service_server) StdoutLine: {'line': b'[ 50%] \x1b[32mBuilding CXX object CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o\x1b[0m\n'}
[0.099312] (-) TimerEvent: {}
[0.199665] (-) TimerEvent: {}
[0.300041] (-) TimerEvent: {}
[0.339620] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:3:10:\x1b[m\x1b[K \x1b[01;31m\x1b[Kfatal error: \x1b[m\x1b[Ksrv/patrol.hpp: No such file or directory\n'}
[0.339808] (service_server) StderrLine: {'line': b' 3 | #include \x1b[01;31m\x1b[K"srv/patrol.hpp"\x1b[m\x1b[K\n'}
[0.339857] (service_server) StderrLine: {'line': b' | \x1b[01;31m\x1b[K^~~~~~~~~~~~~~~~\x1b[m\x1b[K\n'}
[0.339896] (service_server) StderrLine: {'line': b'compilation terminated.\n'}
[0.341656] (service_server) StderrLine: {'line': b'gmake[2]: *** [CMakeFiles/turtle_contrl.dir/build.make:76: CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o] Error 1\n'}
[0.341907] (service_server) StderrLine: {'line': b'gmake[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/turtle_contrl.dir/all] Error 2\n'}
[0.342114] (service_server) StderrLine: {'line': b'gmake: *** [Makefile:146: all] Error 2\n'}
[0.344558] (service_server) CommandEnded: {'returncode': 2}
[0.355206] (service_server) JobEnded: {'identifier': 'service_server', 'rc': 2}
[0.366510] (-) EventReactorShutdown: {}

View File

@@ -0,0 +1,84 @@
[0.080s] DEBUG:colcon:Command line arguments: ['/usr/bin/colcon', 'build']
[0.080s] 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=False, test_result_base=None, continue_on_error=False, executor='parallel', parallel_workers=16, 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=None, 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 0x7c495bc2eda0>, verb_extension=<colcon_core.verb.build.BuildVerb object at 0x7c495bc2e830>, main=<bound method BuildVerb.main of <colcon_core.verb.build.BuildVerb object at 0x7c495bc2e830>>)
[0.202s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) check parameters
[0.202s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) check parameters
[0.203s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) check parameters
[0.203s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) check parameters
[0.203s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) discover
[0.203s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) discover
[0.203s] INFO:colcon.colcon_core.package_discovery:Crawling recursively for packages in '/home/quella/ROS2Demo/service/service_server'
[0.203s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ignore', 'ignore_ament_install']
[0.203s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore'
[0.203s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore_ament_install'
[0.203s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_pkg']
[0.203s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_pkg'
[0.203s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_meta']
[0.203s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_meta'
[0.203s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ros']
[0.203s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ros'
[0.213s] DEBUG:colcon.colcon_core.package_identification:Package '.' with type 'ros.ament_cmake' and name 'service_server'
[0.213s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) using defaults
[0.214s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) discover
[0.214s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) using defaults
[0.214s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) discover
[0.214s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) using defaults
[0.229s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) check parameters
[0.229s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) discover
[0.231s] DEBUG:colcon.colcon_installed_package_information.package_discovery:Found 271 installed packages in /opt/ros/humble
[0.232s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) using defaults
[0.267s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_args' from command line to 'None'
[0.267s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_target' from command line to 'None'
[0.267s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_target_skip_unavailable' from command line to 'False'
[0.267s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_clean_cache' from command line to 'False'
[0.267s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_clean_first' from command line to 'False'
[0.267s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_force_configure' from command line to 'False'
[0.267s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'ament_cmake_args' from command line to 'None'
[0.267s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'catkin_cmake_args' from command line to 'None'
[0.267s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'catkin_skip_building_tests' from command line to 'False'
[0.267s] DEBUG:colcon.colcon_core.verb:Building package 'service_server' with the following arguments: {'ament_cmake_args': None, 'build_base': '/home/quella/ROS2Demo/service/service_server/build/service_server', 'catkin_cmake_args': None, 'catkin_skip_building_tests': False, 'cmake_args': None, 'cmake_clean_cache': False, 'cmake_clean_first': False, 'cmake_force_configure': False, 'cmake_target': None, 'cmake_target_skip_unavailable': False, 'install_base': '/home/quella/ROS2Demo/service/service_server/install/service_server', 'merge_install': False, 'path': '/home/quella/ROS2Demo/service/service_server', 'symlink_install': False, 'test_result_base': None}
[0.267s] INFO:colcon.colcon_core.executor:Executing jobs using 'parallel' executor
[0.268s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete
[0.268s] INFO:colcon.colcon_ros.task.ament_cmake.build:Building ROS package in '/home/quella/ROS2Demo/service/service_server' with build type 'ament_cmake'
[0.268s] INFO:colcon.colcon_cmake.task.cmake.build:Building CMake package in '/home/quella/ROS2Demo/service/service_server'
[0.270s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_core.shell.bat': Not used on non-Windows systems
[0.271s] INFO:colcon.colcon_core.shell:Skip shell extension 'powershell' for command environment: Not usable outside of PowerShell
[0.271s] DEBUG:colcon.colcon_core.shell:Skip shell extension 'dsv' for command environment
[0.302s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
[0.614s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '2': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
[0.614s] Level 1:colcon.colcon_core.environment:create_environment_scripts_only(service_server)
[0.616s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server' for CMake module files
[0.617s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server' for CMake config files
[0.617s] Level 1:colcon.colcon_core.shell:create_environment_hook('service_server', 'cmake_prefix_path')
[0.617s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.ps1'
[0.618s] INFO:colcon.colcon_core.shell:Creating environment descriptor '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.dsv'
[0.618s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.sh'
[0.619s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib'
[0.619s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/bin'
[0.619s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib/pkgconfig/service_server.pc'
[0.620s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib/python3.10/site-packages'
[0.620s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/bin'
[0.620s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.ps1'
[0.621s] INFO:colcon.colcon_core.shell:Creating package descriptor '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.dsv'
[0.622s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.sh'
[0.622s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.bash'
[0.623s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.zsh'
[0.624s] Level 1:colcon.colcon_core.environment:create_file_with_runtime_dependencies(/home/quella/ROS2Demo/service/service_server/install/service_server/share/colcon-core/packages/service_server)
[0.635s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:closing loop
[0.635s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:loop closed
[0.635s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete finished with '2'
[0.635s] DEBUG:colcon.colcon_core.event_reactor:joining thread
[0.640s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.terminal_notifier': Not used on non-Darwin systems
[0.640s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.win32': Not used on non-Windows systems
[0.640s] INFO:colcon.colcon_notification.desktop_notification:Sending desktop notification using 'notify2'
[0.641s] DEBUG:colcon.colcon_notification.desktop_notification.notify2:Failed to initialize notify2: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files
[0.642s] DEBUG:colcon.colcon_core.event_reactor:joined thread
[0.642s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.ps1'
[0.643s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/quella/ROS2Demo/service/service_server/install/_local_setup_util_ps1.py'
[0.644s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.ps1'
[0.645s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.sh'
[0.646s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/quella/ROS2Demo/service/service_server/install/_local_setup_util_sh.py'
[0.647s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.sh'
[0.648s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.bash'
[0.648s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.bash'
[0.649s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.zsh'
[0.650s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.zsh'

View File

@@ -0,0 +1,2 @@
Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '2': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16

View File

@@ -0,0 +1,7 @@
/home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:3:10: fatal error: srv/patrol.hpp: No such file or directory
3 | #include "srv/patrol.hpp"
| ^~~~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [CMakeFiles/turtle_contrl.dir/build.make:76: CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/turtle_contrl.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2

View File

@@ -0,0 +1 @@
[ 50%] Building CXX object CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o

View File

@@ -0,0 +1,8 @@
[ 50%] Building CXX object CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o
/home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:3:10: fatal error: srv/patrol.hpp: No such file or directory
3 | #include "srv/patrol.hpp"
| ^~~~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [CMakeFiles/turtle_contrl.dir/build.make:76: CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/turtle_contrl.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2

View File

@@ -0,0 +1,10 @@
[0.033s] Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
[0.095s] [ 50%] Building CXX object CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o
[0.340s] /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:3:10: fatal error: srv/patrol.hpp: No such file or directory
[0.340s] 3 | #include "srv/patrol.hpp"
[0.340s] | ^~~~~~~~~~~~~~~~
[0.340s] compilation terminated.
[0.341s] gmake[2]: *** [CMakeFiles/turtle_contrl.dir/build.make:76: CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o] Error 1
[0.342s] gmake[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/turtle_contrl.dir/all] Error 2
[0.342s] gmake: *** [Makefile:146: all] Error 2
[0.344s] Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '2': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16