Quantcast
Viewing all articles
Browse latest Browse all 18

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....

Viewing all articles
Browse latest Browse all 18

Trending Articles