简体   繁体   中英

Linking boost libraries in xcode

I have boost 1_46_1 in this path: /Users/ramy/Documents/C++ .
In a C++ xcode project I have modified the user header search paths, and added this directory : /Users/ramy/Documents/C++/boost_1_46_1 .
I am trying to include boost/regex.hpp .The file is there: if I go to /Users/ramy/Documents/C++/boost_1_46_1/boost there is regex.hpp, but I get an error when trying to build the project: boost/regex.hpp: file not found.

hmm... Do you know that Regex Boost is not header-only ?

You may have to build Boost and link to the libraries ( linkage options )

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM