Which version of player are you using, and are you building with Qt? Also what is the compile line, and what environment are you running in? (OSX/linux, if linux whch linux...)


2008/5/8 <mgaut@cs.umanitoba.ca>:
Hi everyone,

I am hoping that someone has run into this problem before or can
recognize the root of the problem here.  I am trying to compile a
client program that uses various player classes (PlayerClient,
SonarProxy etc..).  In my file I have included

#include <libplayerc++/playerc++.h>

But this line seems to be causing this error

In file included from /usr/local/include/boost/signals/connection.hpp:13,
                 from /usr/local/include/boost/signals/signal_template.hpp:18,
                 from /usr/local/include/boost/signals/signal0.hpp:24,
                 from /usr/local/include/boost/signal.hpp:19,
                 from /usr/include/player-2.0/libplayerc++/playerclient.h:15,
                 from /usr/include/player-2.0/libplayerc++/playerc++.h:42,
                 from perception/Sensors.h:8,
                 from mapping/GridMapper.h:16,
                 from mapping/GridMapper.cpp:5:
/usr/local/include/boost/signals/detail/signals_common.hpp:26: error:
expected identifier before ?protected?
/usr/local/include/boost/signals/detail/signals_common.hpp:26: error:
expected unqualified-id before ?protected?
mapping/GridMapper.cpp:665: error: expected `}' at end of input
make: *** [.obj/GridMapper.o] Error 1

Sensors and GridMapper are files that I have written.  It looks to me
like this could be an error with my boost installation but I am not
sure.  If anyone could provide some insight that would help a lot.
Thanks in advance!

Mike Gauthier                      E-mail: mgaut@cs.umanitoba.ca
Department of Computer Science     URL   : http://www.cs.umanitoba.ca/~mgaut
University of Manitoba             Winnipeg, Manitoba R3T 2N2 Canada

This message was sent using IMP, the Internet Messaging Program.

This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
Playerstage-users mailing list

This email is intended for the addressee only and may contain privileged and/or confidential information