Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
小
@小伊 在 代码报错求助 中说:
您遇到的错误主要是因为 target_include_directories 和 target_link_libraries 调用时目标名称错误。在您的 CMakeLists.txt 文件中,您创建的可执行文件名为 rs2_cpp_noode,但在后续配置中您使用了 ros2_cpp_node。这导致了 CMake 无法找到相应的目标来设置包含目录和链接库。
正解