Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/xcode/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C++ 如何";与boost“系统库”链接;在XCode中_C++_Xcode_Boost_Linker - Fatal编程技术网

C++ 如何";与boost“系统库”链接;在XCode中

C++ 如何";与boost“系统库”链接;在XCode中,c++,xcode,boost,linker,C++,Xcode,Boost,Linker,有人告诉我需要链接到boost_系统库。我试图弄明白怎么做,但不知道怎么做。我尽可能地按照说明进行操作,以下是我的链接配置: 这显然是不正确的,因为我得到了错误 ld: library not found for -lboost_system clang: error: linker command failed with exit code 1 (use -v to see invocation) 当我试图编译时。显然,我的头搜索路径是正确的,因为我有#include,编译器正在查找该文件

有人告诉我需要链接到boost_系统库。我试图弄明白怎么做,但不知道怎么做。我尽可能地按照说明进行操作,以下是我的链接配置:

这显然是不正确的,因为我得到了错误

ld: library not found for -lboost_system
clang: error: linker command failed with exit code 1 (use -v to see invocation)

当我试图编译时。显然,我的头搜索路径是正确的,因为我有#include
,编译器正在查找该文件。非常感谢您的任何建议。

也许您在哪里安装了boost?