Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

key01023

macrumors newbie
Original poster
Sep 30, 2014
1
0
I have built Boost from the website using

./bootstrap.sh
./b2 install

VDrHd.jpg

ZaBfk.jpg



I think all are installed properly. I am trying to use Xcode to include the library of boost:thread.My code links to the header file properly with " #include "boost/thread.hpp"" commented, as seen from the following:

XW1qE.jpg


However, it could not link properly to boost-thread if "#include "boost/thread.hpp"" is un-commented.

fKNj9.jpg


Error page is shown as:

tFXV9.jpg


I have linked the dynamic library libboost_thread.a and libboost_thread.dylib and included /usr/local/include into header search path and /usr/local/lib into library search path.
UGYeN.jpg

mjoFi.jpg

Wc3D4.jpg


I am really desperate on knowing how to resolve this issue... Please help me. Thank you very much:)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.