Ask Your Question
0

Where is platform.h?

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

Penny gravatar image

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

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
1

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

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
0

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

dornhege gravatar image

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

edit flag offensive delete link more
-1

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

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

Comments

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

answered 2012-01-12 01:19:12 -0500

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

Stats

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

Seen: 596 times

Last updated: Jan 12 '12