Problem in using serial package?
I got to install the Serial package and trying to write program I am having problem as Compiler ('eclipse' made it compatible to rosworkspace) showing problem to resolve resolve the #include
I created a package with dependencies as rospy std_msgs roscpp serial.
Unix.h is header file in of serial package but it is showing unresolved inclusion.
I am using linux 12.04, the ROS version is Groovy. The eclipse resolve the inclusion at the time of writing the the line #include
Please tell how to resolve this problem.
Asked by lifelonglearner on 2013-07-23 16:19:22 UTC
Comments
There's not enough information here for us to help you. For any question involving code, include the relevant code, any error messages, and what you've tried/where else you've looked for a solution. (the more work you've done on your own, the more likely people are going to want to help)
Asked by lindzey on 2013-07-23 19:04:59 UTC
What OS are you using, what version of ROS are you using, and can you post the output of
locate unix.h
? (also please edit your question rather than posting updates in an answers)Asked by William on 2013-07-23 20:16:51 UTC
I edited the question, I hope its ok now. Thank you for suggesting the changes.
Asked by lifelonglearner on 2013-07-23 20:25:10 UTC
Which file do you have open? If you have my serial library from source and you are looking at the unix.cc file, then you'll need to ensure that the include folder is in the include path for eclipse. Otherwise it doesn't know where to find
serial/impl/unix.h
Asked by William on 2013-07-23 20:34:30 UTC