rosserial_arduino CMake Tutorial

asked 2013-12-17 16:08:21 -0500

getSurreal gravatar image

updated 2013-12-17 21:12:32 -0500

tfoote gravatar image

I've completed the previous tutorials, but I'm having problems with

ROS Groovy on Raspberry Pi Raspbian with Arduino 1.01

When I run

$ make chatter

I get

g++     chatter.cpp   -o chatter
chatter.cpp:6:22: fatal error: WProgram.h: No such file or directory
compilation terminated.
make: *** [chatter] Error 1

I read that WProgram.h is now named Arduino.h so I updated that in chatter.cpp, but I get the same error about not finding Arduino.h.

I confirmed the Arduino.h file does exist.

$ locate Arduino.h

I think the issue may be related to this line in the CMakeLists.txt file


I'm not able to locate the referenced file and don't know where to get it.

The closest related files I can find are these.

edit retag flag offensive close merge delete