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

In your manifest.xml you can export required flags, e.g. <export> <cpp lflags="-lGL -lglut" /> </export>

Also in your CMakeLists.txt you could add target_link_libraries(yourprogram GL glut)

or

link_libraries(GL glut)

click to hide/show revision 2
differentiate library from executable.

In If you're writing a library which will be used from another package in your manifest.xml you can should export required flags, e.g. <export> <cpp lflags="-lGL -lglut" /> </export>

Also For the a binary in your CMakeLists.txt you could add target_link_libraries(yourprogram GL glut)

or

link_libraries(GL glut)