Ask Your Question

Where is platform.h?

asked 2012-01-11 01:13:23 -0600

Penny gravatar image

updated 2012-02-27 13:27:52 -0600

kwc gravatar image

I wrote a publisher in c++ and I must include platform.h, but I cannot find it in any directory, and include the directory.Where is platform.h?

edit retag flag offensive close merge delete

4 Answers

Sort by ยป oldest newest most voted

answered 2012-01-12 03:14:21 -0600

ahendrix gravatar image

ROS does a lot of magic behind the scenes in the build system that makes searching for headers like this unnecessary.

Instead, you should add the proper dependency to your manifest, which will automatically set up the proper include and library compile flags.

In this case, I'm guessing that you need to add a dependency on roscpp.

edit flag offensive delete link more

answered 2012-01-11 01:15:47 -0600

dornhege gravatar image

Are you looking for that: ./stacks/ros_comm/utilities/cpp_common/include/ros/platform.h ?

edit flag offensive delete link more

answered 2012-01-11 02:13:15 -0600

Penny gravatar image

Thank you a lot, is there any command that finds them?Because I am also looking for console.h

edit flag offensive delete link more


Yes, it's called: find
dornhege gravatar image dornhege  ( 2012-01-11 03:32:38 -0600 )edit

answered 2012-01-12 01:19:12 -0600

Penny gravatar image

I think I can answer this on myown, I discovered the command line find that helped a lot.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-01-11 01:13:23 -0600

Seen: 628 times

Last updated: Jan 12 '12