ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I don't see any target_link_libraries(your_target ${MySQL_LIBRARIES}) (or whatever variable contains the libraries for MySQL) in your CMakeLists.txt: how is the linker going to find those symbols if you don't supply it with the appropriate libraries?

I don't see any target_link_libraries(your_target ${MySQL_LIBRARIES}) (or whatever variable contains the libraries for MySQL) in your CMakeLists.txt: how is the linker going to find those symbols if you don't supply it with the appropriate libraries?


Strictly speaking, this isn't even a ROS question, it's all CMake.