@weijiz 好的
ROS交流群
ROS Group 产品服务
Product Service 开源代码库
Github 官网
Official website 技术交流
Technological exchanges 激光雷达
LIDAR ROS教程
ROS Tourials 深度学习
Deep Learning 机器视觉
Computer Vision
ROS Group 产品服务
Product Service 开源代码库
Github 官网
Official website 技术交流
Technological exchanges 激光雷达
LIDAR ROS教程
ROS Tourials 深度学习
Deep Learning 机器视觉
Computer Vision
Yuanren 发布的帖子
-
RE: 求助!ros编译后提示未找到可执行文件
@weijiz 这是我的CMakelist,麻烦你帮我看一下。不知道是不是我Ubuntu系统的问题,昨天运行还可以。
cmake_minimum_required(VERSION 3.0.2)
project(sim)Compile as C++11, supported in ROS Kinetic and newer
add_compile_options(-std=c++11)
Find catkin macros and libraries
if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
is used, also find other catkin packages
find_package(catkin REQUIRED COMPONENTS
roscpp
rospy
std_msgs
)catkin_package(
INCLUDE_DIRS include
LIBRARIES sim
CATKIN_DEPENDS roscpp rospy std_msgs
DEPENDS system_lib
)
Specify additional locations of header files
Your package locations should be listed before other locations
include_directories(
include
${catkin_INCLUDE_DIRS}
)catkin_package()
add_executable(bat_pub
src/bat_pub.cpp
)
target_link_libraries(bat_pub
${catkin_LIBRARIES}
)add_executable(tst
src/tst.cpp
)
target_link_libraries(tst
${catkin_LIBRARIES}
) -
求助 对serial库未定义的引用
求助 对serial库未定义的引用
编写一个简单的与STM32通信的程序,在编译时出现这个错误。在网上查找了很多资料,说是Cmakelists的问题和Package.xml的问题,但我多次检查、修改,仍然报错。
烦请高手指点!
附上相关图片