我正在尝试安装rcssbase。虽然我“./configure”出现问题。但是当我想“制作”这个错误来源:

loader.cpp:在静态成员函数'静态boost :: filesystem3 :: path rcss :: lib :: loader :: stribdirname(const boost :: filesystem3 :: path&path&)': loader.cpp:158:38:错误:从'boost :: filesystem3 :: path'转换为非标量型'std :: string {aka std :: basic_string}'请求

boost::filesystem::path
Loader::stripDirName( const boost::filesystem::path & filename )
{
    std::string rval = filename.leaf(); //this is the 158th line
    return rval;
}
.

有帮助吗?

解决方案

您的错误与libboost库相关,更好地使用APT包管理器的这些应用程序有这么多依赖项。

您可以将RCSSServer存储库添加到Ubuntu

中的存储库中

如果您的Ubuntu版本<= 12.10:

,请执行以下步骤

1)您可以在此处找到存储库: https://launchpad.net/〜Gnurubuntu / + archive / rubuntu

2)现在您在上一步中找到的地址为 /etc/sources.list 文件

3)现在键入sudo apt-get update

4)sudo apt-get install rcssserver rcsslogplayer rcssmonitor

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top