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">On Wed, Aug 25, 2010 at 2:48 PM, Adam Leeper <span dir="ltr"><<a href="mailto:aleeper@stanford.edu">aleeper@stanford.edu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">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>_______________________________________________<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>