链接ubuntu 14.04中的boost文件系统和boost iostream库

问题描述 投票:0回答:1

我下载了boost 1.61并将其解压缩到/ usr / local / boost_1_61_0,并在安装时将前缀路径设置为/ usr / local /,其中安装了所有boost库。我正在尝试安装用于使用Boost c ++库(从https://github.com/hubsw/FRESCO下载)构建的DNA数据压缩的FRESCO工具。他们给了make实用程序来安装FRESCO工具。

但是当我尝试运行make时,出现有关BOOST:FILESYSTEM和BOOST:IOSTREAM库的错误,如下所示:>

    undefined reference to `boost::iostreams::detail::gzip_header::reset()'
    undefined reference to boost::iostreams::detail::zlib_base::~zlib_base()'
 undefined reference to `boost::filesystem::detail::create_directories(boost::filesystem::path const&, boost::system::error_code*)'

以及许多其他与boost iostream和文件系统有关的事物。

在FRESCO中,他们提到他们需要BOOST 1.51(以后),boost文件系统,boost iostream,boost threading-mt。

有人可以建议我哪里错了吗?如果我使用ubuntu的make实用程序安装FRESCO工具,如何链接boost文件系统/ iostream?

我下载了boost 1.61并将其解压缩到/ usr / local / boost_1_61_0,并在安装时将前缀路径设置为/ usr / local /,其中安装了所有boost库。我正在尝试安装FRESCO ...

c++ ubuntu boost boost-thread dna-sequence
1个回答
0
投票

我正在尝试将boost编译为项目的依赖项,并且出现类似的错误。

© www.soinside.com 2019 - 2024. All rights reserved.