在 Ubuntu 16.04 上安装 robot-player 软件包?

在 Ubuntu 16.04 上安装 robot-player 软件包?

我正在尝试在 Ubuntu 16.04 上安装播放器。

参考http://playerstage.sourceforge.net/http://packages.ubuntu.com/trusty/robot-player

在我看来,机器人播放器是为 Trusty 创建的,因此不适用于 Xenial Xerus?

当我尝试安装它时,我得到了这个:

frode@xenialxerus:~$ sudo apt-get install robot-player
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package robot-player is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'robot-player' has no installation candidate

我也尝试从 sourceforge 下载源代码,但是在执行“make”时失败;

(...)
from /usr/include/c++/5/ostream:38,
from /usr/include/c++/5/iostream:39,
from /home/frode/Downloads/player-3.0.2/client_libs/libplayerc++/playerclient.cc:48:
/home/frode/Downloads/player-3.0.2/client_libs/libplayerc++/playerclient.cc: In member function ‘void PlayerCc::PlayerClient::RunThread()’:
/home/frode/Downloads/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:612: 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

关于如何让 Player 在 Ubuntu 16.04 上运行,有什么提示吗?

相关内容