Thanks Josh. I moved the <tf/tf.h> line around, and discovered that it must come before <QtGUI>.<div><br></div><div>I was having a similar problem with some other packages that (I now see) also use tf, but putting all the ROS stuff before the Qt stuff seems to solve everything.<div>
<br></div><div>--Adam</div><div><br></div><div><br><div>Adam Leeper<br>Stanford University<br><a href="mailto:aleeper@stanford.edu">aleeper@stanford.edu</a><br>719.358.3804<br>
<br><br><div class="gmail_quote">On Wed, Aug 25, 2010 at 4:53 PM, Josh Faust <span dir="ltr"><<a href="mailto:jfaust@willowgarage.com">jfaust@willowgarage.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
What happens if you make the tf.h include the first include in the file?<div><br></div><div>Josh<br><br><div class="gmail_quote"><div><div></div><div class="h5">On Wed, Aug 25, 2010 at 2:48 PM, Adam Leeper <span dir="ltr"><<a href="mailto:aleeper@stanford.edu" target="_blank">aleeper@stanford.edu</a>></span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">Hello-<br><br>I'm working on making a simple test file that reproduces the problem, but in the mean time, does anyone recognize the following errors with Boost?<br>


<br>I've narrowed it down to when I have #include for tf/tf.h, but I've used tf in the past with no problems. I suspect it might have something to do with the fact that my program is built in Qt, but like I said I am still trying to investigate.<br>



<br>Anyway, I figured I'd throw it out there in case someone has already solved something like this.<br><br>(Ubuntu 10.04 64-bit, cturtle all up-to-date as of today, Boost seems to claim it is 1.40)<br><br>Thanks!<br>



--Adam<br><br><br><br>In file included from /usr/include/boost/signals/connection.hpp:13,<br>                 from /usr/include/boost/signals/signal_template.hpp:18,<br>                 from /usr/include/boost/signals/signal0.hpp:24,<br>



                 from /usr/include/boost/signal.hpp:19,<br>                 from /usr/include/boost/signals.hpp:9,<br>                 from /opt/ros/cturtle/stacks/geometry/tf/include/tf/tf.h:45,<br>                 from /home/aleeper/ros/cs324/users/aleeper/disney_executive/src/disney_gui.cpp:31:<br>



/usr/include/boost/signals/detail/signals_common.hpp:26: error: expected identifier before ‘protected’<br>/usr/include/boost/signals/detail/signals_common.hpp:26: error: expected unqualified-id before ‘protected’<br>/home/aleeper/ros/cs324/users/aleeper/disney_executive/src/disney_gui.cpp:472: error: expected ‘}’ at end of input<br>



make[3]: *** [CMakeFiles/exec.dir/src/disney_gui.o] Error 1<br>make[3]: Leaving directory `/home/aleeper/ros/cs324/users/aleeper/disney_executive/build'<br>make[2]: *** [CMakeFiles/exec.dir/all] Error 2<br>make[2]: Leaving directory `/home/aleeper/ros/cs324/users/aleeper/disney_executive/build'<br>



make[1]: *** [all] Error 2<br>make[1]: Leaving directory `/home/aleeper/ros/cs324/users/aleeper/disney_executive/build'<br>make: *** [all] Error 2<br><font color="#888888"><br><br><br><br><br><br clear="all">Adam Leeper<br>


Stanford University<br>
<a href="mailto:aleeper@stanford.edu" target="_blank">aleeper@stanford.edu</a><br>719.358.3804<br>
</font><br></div></div>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br></blockquote></div><br></div></div></div>