xcode 4.2 os x 10.7
when I install my include, it looks like this:
#include <iostream> #include <boost/thread.hpp>
I get the following error from a file located in /opt/local/include/boost/tr1/tr1
Lexical or Preprocessor Issue 'boost/tr1/detail/config_all.hpp' file not found
The contents of the file /opt/local/include/boost/tr1/tr1/iostream :
// (C) Copyright John Maddock 2005. // Use, modification and distribution are subject to the // Boost Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // // This file exists to prevent std lib headers from accidentally // including a TR1 extention header; we must suppress this otherwise // we can end up with cyclic dependencies with some std lib implementations. //
I should use the iostream header located at /Developer/SDKs/MacOSX10.7.sdk/usr/include/c++/4.2.1/
You will have to forgive me, as I am very new to C ++ and even newer to xcode. Thanks in advance for any help.
source share