Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Player make error in Ubuntu 16.04 #90

Open
Aaricis opened this issue May 3, 2018 · 2 comments
Open

Player make error in Ubuntu 16.04 #90

Aaricis opened this issue May 3, 2018 · 2 comments

Comments

@Aaricis
Copy link

Aaricis commented May 3, 2018

I make Player in Ubuntu 16.04, but it can not success.
Uploading 2018-05-03 11-46-56屏幕截图.png…
what should I do?

@Aaricis
Copy link
Author

Aaricis commented May 3, 2018

Information like this
`Scanning dependencies of target playerc++
[ 14%] Building CXX object client_libs/libplayerc++/CMakeFiles/playerc++.dir/playerc++.o
In file included from /home/zhangkaige/player-3.0.2/client_libs/libplayerc++/playerclient.h:66:0,
from /home/zhangkaige/player-3.0.2/client_libs/libplayerc++/playerc++.h:61,
from /home/zhangkaige/player-3.0.2/client_libs/libplayerc++/playerc++.cc:44:
/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

^

[ 14%] Building CXX object client_libs/libplayerc++/CMakeFiles/playerc++.dir/playerclient.o
In file included from /home/zhangkaige/player-3.0.2/client_libs/libplayerc++/playerclient.h:66:0,
from /home/zhangkaige/player-3.0.2/client_libs/libplayerc++/playerc++.h:61,
from /home/zhangkaige/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

^

In file included from /usr/include/pthread.h:24:0,
from /usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h:35,
from /usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h:148,
from /usr/include/c++/5/ext/atomicity.h:35,
from /usr/include/c++/5/bits/ios_base.h:39,
from /usr/include/c++/5/ios:42,
from /usr/include/c++/5/ostream:38,
from /usr/include/c++/5/iostream:39,
from /home/zhangkaige/player-3.0.2/client_libs/libplayerc++/playerclient.cc:48:
/home/zhangkaige/player-3.0.2/client_libs/libplayerc++/playerclient.cc: In member function ‘void PlayerCc::PlayerClient::RunThread()’:
/home/zhangkaige/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);
^
client_libs/libplayerc++/CMakeFiles/playerc++.dir/build.make:86: recipe for target 'client_libs/libplayerc++/CMakeFiles/playerc++.dir/playerclient.o' failed
make[2]: *** [client_libs/libplayerc++/CMakeFiles/playerc++.dir/playerclient.o] Error 1
CMakeFiles/Makefile2:531: recipe for target 'client_libs/libplayerc++/CMakeFiles/playerc++.dir/all' failed
make[1]: *** [client_libs/libplayerc++/CMakeFiles/playerc++.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
`

@Ederwardlu
Copy link

i have same problems,when modify ''boost::xtime_get(&xt, boost::TIME_UTC);'' as''boost::xtime_get(&xt, boost::TIME_UTC_);'' it can go to 78%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants