Thanks for the quick response.  One more thing.  After I made the changes you suggested,  I was able to successfully "make" the node.  I got the following error when I tried to launch the node: <br><br>[FATAL] [1285884626.766008172]: You must call ros::init() before creating the first NodeHandle<br>
[FATAL] [1285884626.767366060]: BREAKPOINT HIT<br>    file = /opt/ros/cturtle/ros/core/roscpp/src/libros/node_handle.cpp<br>    line=140<br><br>[subscriber-3] process has died [pid 18638, exit code -5].<br>log files: /home/gavin/.ros/log/74977cc6-ccd5-11df-9b91-0007e97f99ca/subscriber-3*.log<br>
<br>I then went and added the middle line( ros::init . . . )<br><br>using namespace ros;<br><br>  ros::init(argc, argv, "subscriber");<br>   ros::NodeHandle n;<br>. . . . .<br><br>and I got the following errors when I tried to make the node:<br>
<br>/src/subscriber.cpp:11: error: expected constructor, destructor, or type conversion before ‘(’ token<br>make[3]: *** [CMakeFiles/subscriber.dir/src/subscriber.o] Error 1<br><br>Could you please explain what's happening?  Thanks a lot!<br>
<br>-Gavin<br><br>