Problem in using serial package? [closed]
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 <unix.h>. What I understand is that unix.h directory is not available.
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 <unix.h>.Its showing error in resolving inclusion.
Please tell how to resolve this problem.
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)
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)
I edited the question, I hope its ok now. Thank you for suggesting the changes.
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`