On Nov 15, 2012, at 12:33 PM, Kikohs x
Hello,
I cannot compile boost with clang 3.1 on Mac os x 10.8.2.
This is what I did:
./boostrap.sh --with-toolset=clang ./b2 toolset=clang cxxflags="-std=c++11 -stdlib=libc++" linkflags="-stdlib=libc++"
Yeah, I just tried that (though I didn't run bootstrap.sh) cd /Sources/boost/release ./b2 toolset=clang cxxflags="-std=c++11 -stdlib=libc++" linkflags="-stdlib=libc++" and it worked (as much as boost will work with c++11)
I tried a user-config.jam with
using clang-darwin
Mine says: import toolset : using ; using clang-darwin ;
This is the error I have for almost every file:
/boost/config/select_stdlib_config.hpp:18:12: fatal error: 'cstddef' file not found
At this point, I wonder if your clang/llvm is correctly installed. Can you build simple command-line tools manually? -- Marshall Marshall Clow Idio Software mailto:mclow.lists@gmail.com A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait). -- Yu Suzuki