如何安装文件系统C++带有mingw的图书馆?
对于一个新项目,我需要使用文件系统库,但是当我尝试包含它时,我的汇编失败,因为它找不到库。我正在使用Mingw安装GCC在Windows上编译,他的版本应为6.3。我可以肯定的是,从GCC 8+中,该库应包含在标准库中。我也试图在实验中找到它,但不能做到。有什么方法可以解决这个问题吗?喜欢安装较新版本的GCC或以任何其他方式包括此库?抱歉,我不习惯这种类型的事情。
For a new project i need use filesystem library but when I try to include it, my compilation fail cause it can't find the library. I'm compiling on Windows with gcc installed via minGW and his version should be 6.3. I know for sure that from gcc 8+ this library should be included in the standard one. I' ve also tried to find it in experimental but it can't do it. Is there any way to solve this problem? Like installing a newer version of gcc or including this library in any other way? Sorry but I'm not used to this type of thing.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
C ++
文件系统
库是在C ++ 17中引入的,但是您的编译器可能被配置为默认情况下使用该语言的较早版本。尝试使用-std = C ++ 17
选项。The C++
filesystem
library was introduced in C++17, but your compiler might be configured to use an earlier version of the language by default. Try using the-std=c++17
option.