catkin add LibSerial header
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....
Asked by krl101 on 2017-02-23 06:46:43 UTC
Comments