rossuihan@rossuihan-PRIME-Z390-A:~/catkin_ws$ catkin_make
Base path: /home/rossuihan/catkin_ws
Source space: /home/rossuihan/catkin_ws/src
Build space: /home/rossuihan/catkin_ws/build
Devel space: /home/rossuihan/catkin_ws/devel
Install space: /home/rossuihan/catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/rossuihan/catkin_ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/rossuihan/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /home/rossuihan/catkin_ws/devel;/opt/ros/noetic
-- This workspace overlays: /home/rossuihan/catkin_ws/devel;/opt/ros/noetic
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.8.10", minimum required is "3")
-- Using PYTHON_EXECUTABLE: /usr/bin/python3
-- Using Debian Python package layout
-- Using empy: /usr/lib/python3/dist-packages/em.py
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/rossuihan/catkin_ws/build/test_results
-- Forcing gtest/gmock from source, though one was otherwise available.
-- Found gtest sources under '/usr/src/googletest': gtests will be built
-- Found gmock sources under '/usr/src/googletest': gmock will be built
-- Found PythonInterp: /usr/bin/python3 (found version "3.8.10")
-- Using Python nosetests: /usr/bin/nosetests3
-- catkin 0.8.10
-- BUILD_SHARED_LIBS is on
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 3 packages in topological order:
-- ~~ - learning_parameter
-- ~~ - learning_service
-- ~~ - learning_topic
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'learning_parameter'
-- ==> add_subdirectory(learning_parameter)
-- +++ processing catkin package: 'learning_service'
-- ==> add_subdirectory(learning_service)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- learning_service: 0 messages, 1 services
-- +++ processing catkin package: 'learning_topic'
-- ==> add_subdirectory(learning_topic)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- learning_topic: 1 messages, 0 services
-- Configuring done
CMake Error at learning_service/CMakeLists.txt:169 (add_executable):
Cannot find source file:
srv/person_client.cpp
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
.hpp .hxx .in .txx
CMake Error at learning_service/CMakeLists.txt:165 (add_executable):
Cannot find source file:
srv/person_server.cpp
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
.hpp .hxx .in .txx
CMake Error at learning_service/CMakeLists.txt:169 (add_executable):
No SOURCES given to target: person_client
CMake Error at learning_service/CMakeLists.txt:165 (add_executable):
No SOURCES given to target: person_server
CMake Generate step failed. Build files cannot be regenerated correctly.
make: *** [Makefile:992:cmake_check_build_system] 错误 1
Invoking "make cmake_check_build_system" failed
rossuihan@rossuihan-PRIME-Z390-A:~/catkin_ws$