Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 18

catkin add LibSerial header

$
0
0
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



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>