无聊到学习

关注

ROS CMakeLists.txt中的 target_link_libraries

无聊到学习

关注

阅读 95

2022-02-23

target_link_libraries(${PROJECT_NAME}_node
  ${catkin_LIBRARIES}
)

使得 catkin可以找到需要链接的库文件,包括ros::init这种语句的定义,如果不使用这句话,会导致undefined reference to ... 编译错误

相关推荐

三次方

ros CMakeLists.txt template

三次方 60 0 0

汤姆torn

CMakeLists.txt使用

汤姆torn 104 0 0

刘员外__

ROS2 CMakeLists.txt package.xml

刘员外__ 35 0 0

王远洋

CMakeLists.txt 编写规则

王远洋 25 0 0

月白色的大狒

CMakeLists.txt 简单的语法介绍

月白色的大狒 28 0 0

googlefrank

[cmakelists]CMakeLists.txt中手动指定boost的安装路径

googlefrank 14 0 0

Separes

ROS2 CMakeLists.txt 和 package.xml

Separes 15 0 0

小典典Rikako

CMakeLists.txt编写简单介绍:CMakeLists.txt同时编译.cpp和.cu

小典典Rikako 17 0 0

westfallon

Android CMakeLists.txt语法详解

westfallon 15 0 0

微笑沉默

CMake 语法 - 详解 CMakeLists.txt

微笑沉默 45 0 0

精彩评论(0)

0 0 举报