请问使用语音控制小海龟移动 catkin_make 命令报错如下:
(base) chenai@chenai:~/xf_ws$ catkin_make
Base path: /home/chenai/xf_ws
Source space: /home/chenai/xf_ws/src
Build space: /home/chenai/xf_ws/build
Devel space: /home/chenai/xf_ws/devel
Install space: /home/chenai/xf_ws/install
####
#### Running command: "cmake /home/chenai/xf_ws/src -DCATKIN_DEVEL_PREFIX=/home/chenai/xf_ws/devel -DCMAKE_INSTALL_PREFIX=/home/chenai/xf_ws/install -G Unix Makefiles" in "/home/chenai/xf_ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/chenai/xf_ws/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/noetic
-- This workspace overlays: /opt/ros/noetic
-- Found PythonInterp: /home/chenai/anaconda3/bin/python3 (found suitable version "3.7.3", minimum required is "3")
-- Using PYTHON_EXECUTABLE: /home/chenai/anaconda3/bin/python3
-- Using Debian Python package layout
-- Using empy: /home/chenai/anaconda3/lib/python3.7/site-packages/em.py
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/chenai/xf_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: /home/chenai/anaconda3/bin/python3 (found version "3.7.3")
-- Using Python nosetests: /usr/bin/nosetests3
-- catkin 0.8.10
-- BUILD_SHARED_LIBS is on
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 1 packages in topological order:
-- ~~ - xfei_robot
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'xfei_robot'
-- ==> add_subdirectory(xfei_robot)
-- Configuring done
CMake Error at xfei_robot/CMakeLists.txt:199 (add_executable):
Cannot find source file:
src/tts_subscribe_speak.cpp
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
.hpp .hxx .in .txx
CMake Error at xfei_robot/CMakeLists.txt:199 (add_executable):
No SOURCES given to target: tts_subscribe_speak
CMake Generate step failed. Build files cannot be regenerated correctly.
Invoking "cmake" failed
是什么问题麻烦帮忙解决,谢谢
第三方账号登入
QQ 微博 微信