gpt4 book ai didi

c++ - 链接错误libboost_filesystem-vc140-mt-1_61.lib,但我有boost_filesystem-vc140-mt-1_61.lib

转载 作者:太空宇宙 更新时间:2023-11-04 12:57:10 24 4
gpt4 key购买 nike

我在 VS 中出现链接错误。它找不到 libboost_filesystem-vc140-mt-1_61.lib。但是我有 boost_filesystem-vc140-mt-1_61.lib。为什么VS总是要找libboost_filesystem-vc140-mt-1_61.lib

我在链接器->输入中添加了boost_filesystem-vc140-mt-1_61.lib

你能帮帮我吗?非常感谢!

最佳答案

libboost* 是静态库。使用 BOOST_ALL_DYN_LINK 链接到动态库。见Building Boost libraries for Visual Studio

关于c++ - 链接错误libboost_filesystem-vc140-mt-1_61.lib,但我有boost_filesystem-vc140-mt-1_61.lib,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46012140/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com