【问题标题】:Adding Boost Library to a C++ project in Windows Eclipse在 Windows Eclipse 中将 Boost 库添加到 C++ 项目
【发布时间】:2010-02-25 17:38:24
【问题描述】:

我最近使用安装程序在 Windows 上安装了 Boost 库,我正在尝试链接到 Eclipse 中的库,但没有任何运气。我尝试通过 Project Properties -> C/C++ Build -> Settings -> MinGW C++ Linker -> Libraries 并根据此网站添加参考“boost_filesystem”:http://www.ferdychristant.com/blog//archive/DOMM-76JN6N,但我认为这只适用于 Unix 变体。每次我编译我都会得到错误: "cannot find -lboost_filesystem" 。我已经搜遍了网络,但找不到在 Windows 平台下在 Eclipse 中正确使用 Boost 的方法。感谢您提供任何帮助或建议。

【问题讨论】:

  • 你用的是什么编译器?您使用什么 IDE 并不重要。代码是用 eclipse 编写的这一事实无关紧要。

标签: c++ eclipse boost


【解决方案1】:
【解决方案2】:

尝试在c:\mingw 中安装 MinGW (GCC) 编译器套件。 Eclipse 将检测包含 boost 库的工具链。

【讨论】:

    猜你喜欢
    • 2011-05-25
    • 1970-01-01
    • 2011-10-15
    • 2015-06-29
    • 2016-05-08
    • 2014-04-03
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多