Problem with Player Installation

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Problem with Player Installation

Kefei Zeng

Hi everyone,


I've only started to try to use Player today. I'm currently stuck in the "make" step. It always goes up to 16% before giving the following error:

In file included from /home/charles/player-3.0.2/client_libs/libplayerc++/playerclient.h:66:0,
                 from /home/charles/player-3.0.2/client_libs/libplayerc++/playerc++.h:61,
                 from /home/charles/player-3.0.2/client_libs/libplayerc++/playerclient.cc:54:
/usr/include/boost/signal.hpp:17:4: warning: #warning "Boost.Signals is no longer being maintained and is now deprecated. Please switch to Boost.Signals2. To disable this warning message, define BOOST_SIGNALS_NO_DEPRECATION_WARNING." [-Wcpp]
 #  warning                  "Boost.Signals is no longer being maintained and is now deprecated. Please switch to Boost.Signals2. To disable this warning message, define BOOST_SIGNALS_NO_DEPRECATION_WARNING."
    ^
In file included from /usr/include/pthread.h:24:0,
                 from /usr/include/x86_64-linux-gnu/c++/4.8/bits/gthr-default.h:35,
                 from /usr/include/x86_64-linux-gnu/c++/4.8/bits/gthr.h:148,
                 from /usr/include/c++/4.8/ext/atomicity.h:35,
                 from /usr/include/c++/4.8/bits/ios_base.h:39,
                 from /usr/include/c++/4.8/ios:42,
                 from /usr/include/c++/4.8/ostream:38,
                 from /usr/include/c++/4.8/iostream:39,
                 from /home/charles/player-3.0.2/client_libs/libplayerc++/playerclient.cc:48:
/home/charles/player-3.0.2/client_libs/libplayerc++/playerclient.cc: In member function ‘void PlayerCc::PlayerClient::RunThread()’:
/home/charles/player-3.0.2/client_libs/libplayerc++/playerclient.cc:171:34: error: expected unqualified-id before numeric constant
     boost::xtime_get(&xt, boost::TIME_UTC);


Is this problem caused by missing dependencies, or do I have a major problem with Boost.Signals? So far, I haven't been able to find much useful information on Boost.Signals2 and player. Any help would be greatly appreciated.


------------------------------------------------------------------------------

_______________________________________________
Playerstage-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Problem with Player Installation

Rich Mattes-2
On Fri, Oct 31, 2014 at 6:11 PM, Kefei Zeng <[hidden email]> wrote:

Hi everyone,


I've only started to try to use Player today. I'm currently stuck in the "make" step. It always goes up to 16% before giving the following error:

In file included from /home/charles/player-3.0.2/client_libs/libplayerc++/playerclient.h:66:0,
                 from /home/charles/player-3.0.2/client_libs/libplayerc++/playerc++.h:61,
                 from /home/charles/player-3.0.2/client_libs/libplayerc++/playerclient.cc:54:
/usr/include/boost/signal.hpp:17:4: warning: #warning "Boost.Signals is no longer being maintained and is now deprecated. Please switch to Boost.Signals2. To disable this warning message, define BOOST_SIGNALS_NO_DEPRECATION_WARNING." [-Wcpp]
 #  warning                  "Boost.Signals is no longer being maintained and is now deprecated. Please switch to Boost.Signals2. To disable this warning message, define BOOST_SIGNALS_NO_DEPRECATION_WARNING."
    ^
In file included from /usr/include/pthread.h:24:0,
                 from /usr/include/x86_64-linux-gnu/c++/4.8/bits/gthr-default.h:35,
                 from /usr/include/x86_64-linux-gnu/c++/4.8/bits/gthr.h:148,
                 from /usr/include/c++/4.8/ext/atomicity.h:35,
                 from /usr/include/c++/4.8/bits/ios_base.h:39,
                 from /usr/include/c++/4.8/ios:42,
                 from /usr/include/c++/4.8/ostream:38,
                 from /usr/include/c++/4.8/iostream:39,
                 from /home/charles/player-3.0.2/client_libs/libplayerc++/playerclient.cc:48:
/home/charles/player-3.0.2/client_libs/libplayerc++/playerclient.cc: In member function ‘void PlayerCc::PlayerClient::RunThread()’:
/home/charles/player-3.0.2/client_libs/libplayerc++/playerclient.cc:171:34: error: expected unqualified-id before numeric constant
     boost::xtime_get(&xt, boost::TIME_UTC);


Is this problem caused by missing dependencies, or do I have a major problem with Boost.Signals? So far, I haven't been able to find much useful information on Boost.Signals2 and player. Any help would be greatly appreciated.

Hi,

The problem is that boost changed the name of the TIME_UTC constant in version 1.50.  This issue was fixed in svn commit 9111, you can view the changes with the sourceforge commit browser[1].

To work around this problem until the next Player release comes out, you can just substitute "boost::TIME_UTC_" for "boost::TIME_UTC" in client_libs/libplayerc++/playerclient.cc

Rich

[1] http://sourceforge.net/p/playerstage/svn/commit_browser


------------------------------------------------------------------------------

_______________________________________________
Playerstage-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-users
Loading...