问题描述
我最近安装Boost库在Windows上使用安装程序,我想链接到Eclipse中的图书馆,但我没有任何运气。我试图通过项目属性会 - > C / C ++编译 - >设置 - > MinGW的C ++链接器 - >库和添加引用boost_filesystem,根据这个网站:的,但我认为只适用于Unix变种。每次我编译我得到的错误:找不到-lboost_filesystem。我已经冲刷净,但不能找到一种方法,正确使用在Eclipse升压下一个Windows平台。任何帮助或建议,AP preciated。
I recently installed the Boost Library on Windows using the installer, I'm trying to link to the library in Eclipse but am not having any luck. I tried going through Project Properties -> C/C++ Build -> Settings -> MinGW C++ Linker -> Libraries and add the reference "boost_filesystem" according to this website: http://www.ferdychristant.com/blog//archive/DOMM-76JN6N , but I think that only applies to Unix variants. Everytime I compile I get the error: "cannot find -lboost_filesystem" . I've scoured the net, but cannot find a way to properly use Boost in Eclipse under a Windows platform. Any help or suggestions are appreciated.
推荐答案
我觉得<一个href=\"http://elangovv.word$p$pss.com/2010/10/17/using-boost-library-in-eclipse-cdt-with-cygwin-and-mingw/\"相对=nofollow> Eclipse中的Visual Studio C ++开发人员(也有提升图书馆的解释))是你所需要的。
这篇关于添加Boost库为C ++在Windows Eclipse项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!