catkin add LibSerial header

asked 2017-02-23 05:46:43 -0500

krl101 gravatar image

updated 2017-02-23 07:36:40 -0500

Hi all, i have written a little program which uses the LibSerial library for testing in cpp whithout ros. I compiled it with "gcc -o serialTest SerialTest.cpp -lserial" and tested it.

But how can i tell catkin to use this LibSerial? Has anybody a hinf for me?

The error say: undefined reference to `LibSerial::SerialStream::SerialStream()'

I tried to add "link_directories(/usr/lib/ )" to CMakeLists.txt, but whithout success....

edit retag flag offensive close merge delete