I've recently just started using the XCode environment on the MAC OSX platform and have been trying to configure the C++ Boost Library (Looks to be a great library). I've successfully built the library using Boost.Jam and have placed this build under the default locations for XCode (on my system, at least) --> "/Developer/SDKs/MacOSX10.
/boost" include and "/Developer/SDKs/MacOSX10.
Upon attempting to utilize one of the headers, "path.hpp" in this instance, I am encountered with numerous compiliation errors pointing to various other header files. The error of mention is "error: template with C linkage".
To my knowledge, the Boost library has been built correctly and the header reference is obviously correct.
I've read some other sources which mention that I should add the boost directory to the Header Search Paths in my build settings(Most notably, http://www.cocoadev.com/index.pl?BoostLibraries
). I have attempted this only to yield a greater and more diverse error set. In particular I have performed this by going to "Project-->Edit Project Settings-->Build-->Header Search Paths" and entering "/Developer/SDKs/MacOSX10.
/boost" as a search path and checking off the "recursive" check box. I've also done the same for the "User Header Search Path".
Am I doing something wrong? Has anyone had similar issues? Can you point me in the right direction? Please let me know if any further clarification is necessary. I'd be happy to provide it.
You're assistance is greatly appreciated. Thank you.