#### Running command: "make -j16 -l16" in "/home/wangyize/catkin_racecar/build" #### [ 0%] Built target std_msgs_generate_messages_lisp [ 0%] Built target std_msgs_generate_messages_eus [ 5%] Built target serial [ 5%] Built target std_msgs_generate_messages_py [ 5%] Built target std_msgs_generate_messages_nodejs [ 5%] Built target std_msgs_generate_messages_cpp [ 7%] Built target ackermann_cmd_mux_gencfg make[2]: *** 没有规则可制作目标“/usr/lib/x86_64-linux-gnu/libopencv_calib3d.so.4.2.0”,由“/home/wangyize/catkin_racecar/devel/lib/racecar_gazebo/findLine” 需求。 停止。 [ 7%] Built target nav_msgs_generate_messages_py make[1]: *** [CMakeFiles/Makefile2:3572:racecar/racecar_gazebo/CMakeFiles/findLine.dir/all] 错误 2 make[1]: *** 正在等待未完成的任务.... [ 8%] Built target hokuyo_node_gencfg [ 11%] Built target joy_node [ 14%] Built target libhokuyo [ 14%] Built target rosgraph_msgs_generate_messages_lisp [ 14%] Built target nodelet_generate_messages_eus [ 14%] Built target roscpp_generate_messages_lisp [ 14%] Built target nodelet_generate_messages_lisp [ 14%] Built target rosgraph_msgs_generate_messages_eus [ 14%] Built target rosgraph_msgs_generate_messages_py [ 14%] Built target _vesc_msgs_generate_messages_check_deps_VescState [ 14%] Built target _ackermann_msgs_generate_messages_check_deps_AckermannDriveStamped [ 14%] Built target _ackermann_msgs_generate_messages_check_deps_AckermannDrive [ 14%] Built target _vesc_msgs_generate_messages_check_deps_VescStateStamped make: *** [Makefile:141:all] 错误 2 Invoking "make -j16 -l16" failed
时间: 2024-04-03 07:35:19 浏览: 172
这段输出显示了在执行`make -j16 -l16`命令时出现了错误。错误信息是`没有规则可制作目标"/usr/lib/x86_64-linux-gnu/libopencv_calib3d.so.4.2.0"`,这可能是由于缺少依赖项或文件损坏导致的。建议检查一下依赖项是否已正确安装,或考虑重新安装相关软件包。
相关问题
dp@dp-virtual-machine:~/catkin_ws$ catkin_make Base path: /home/dp/catkin_ws Source space: /home/dp/catkin_ws/src Build space: /home/dp/catkin_ws/build Devel space: /home/dp/catkin_ws/devel Install space: /home/dp/catkin_ws/install #### #### Running command: "make cmake_check_build_system" in "/home/dp/catkin_ws/build" #### #### #### Running command: "make -j16 -l16" in "/home/dp/catkin_ws/build" #### [100%] Built target velocity_publisher
根据你提供的信息,`catkin_make`命令成功地构建了名为`velocity_publisher`的目标。在构建过程中,你可以看到 `[100%] Built target velocity_publisher`,这表示该目标已经成功构建。
现在你可以尝试再次运行`rosrun learning_topic velocity_publisher`命令,应该可以正常运行了。如果还有其他问题,请提供更多详细信息,我将尽力帮助你解决。
catkin_make --directory /home/lalala/demo04_ws -DCMAKE_BUILD_TYPE=RelWithDebInfo Base path: /home/lalala/demo04_ws Source space: /home/lalala/demo04_ws/src Build space: /home/lalala/demo04_ws/build Devel space: /home/lalala/demo04_ws/devel Install space: /home/lalala/demo04_ws/install #### #### Running command: "make cmake_check_build_system" in "/home/lalala/demo04_ws/build" #### #### #### Running command: "make -j16 -l16" in "/home/lalala/demo04_ws/build"
这是一个用于编译ROS工作空间的命令,它使用catkin_make工具并指定了一些参数。该命令在指定的目录(/home/lalala/demo04_ws)下执行,并设置构建类型为RelWithDebInfo。
该命令的输出显示了基本路径(/home/lalala/demo04_ws)以及源码空间、构建空间、开发空间和安装空间的路径。接下来,它运行了两个命令:首先是"make cmake_check_build_system",然后是"make -j16 -l16"。这些命令用于检查构建系统并进行实际的编译操作。使用"-j"参数可以指定并行编译的线程数,"-l"参数用于限制并行编译的负载。
阅读全文