Re: [ros-users] boost errors with tf?

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: Josh Faust
Date:  
To: ros-users
Subject: Re: [ros-users] boost errors with tf?
What happens if you make the tf.h include the first include in the file?

Josh

On Wed, Aug 25, 2010 at 2:48 PM, Adam Leeper <> wrote:

> Hello-
>
> 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?
>
> 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.
>
> Anyway, I figured I'd throw it out there in case someone has already solved
> something like this.
>
> (Ubuntu 10.04 64-bit, cturtle all up-to-date as of today, Boost seems to
> claim it is 1.40)
>
> Thanks!
> --Adam
>
>
>
> In file included from /usr/include/boost/signals/connection.hpp:13,
>                  from /usr/include/boost/signals/signal_template.hpp:18,
>                  from /usr/include/boost/signals/signal0.hpp:24,
>                  from /usr/include/boost/signal.hpp:19,
>                  from /usr/include/boost/signals.hpp:9,
>                  from
> /opt/ros/cturtle/stacks/geometry/tf/include/tf/tf.h:45,
>                  from
> /home/aleeper/ros/cs324/users/aleeper/disney_executive/src/disney_gui.cpp:31:
> /usr/include/boost/signals/detail/signals_common.hpp:26: error: expected
> identifier before ‘protected’
> /usr/include/boost/signals/detail/signals_common.hpp:26: error: expected
> unqualified-id before ‘protected’
> /home/aleeper/ros/cs324/users/aleeper/disney_executive/src/disney_gui.cpp:472:
> error: expected ‘}’ at end of input
> make[3]: *** [CMakeFiles/exec.dir/src/disney_gui.o] Error 1
> make[3]: Leaving directory
> `/home/aleeper/ros/cs324/users/aleeper/disney_executive/build'
> make[2]: *** [CMakeFiles/exec.dir/all] Error 2
> make[2]: Leaving directory
> `/home/aleeper/ros/cs324/users/aleeper/disney_executive/build'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory
> `/home/aleeper/ros/cs324/users/aleeper/disney_executive/build'
> make: *** [all] Error 2

>
>
>
>
>
>
> Adam Leeper
> Stanford University
>
> 719.358.3804
>
> _______________________________________________
> ros-users mailing list
>
> https://code.ros.org/mailman/listinfo/ros-users
>
>