<div dir="ltr">Hello, <div><br></div><div>I am running OS X, when I build clang++ from source and use it to compile .cpp files it fails as it is not able to find C++ header. I am not building libc++ along with llvm and clang.</div><div><br></div><div>using -stdlib=libstdc++ solves problem partially but it fails when using C++11 threads, again it can't find <thread>, to get this work clang++ should work with -stdlib=libc++ but it fails with previous error of not finding C++ headers. </div><div><br></div><div>Is it required to build libc++ along with clang++?</div><div><br></div><div>clang++ with Xcode-command line tool works fine and it also work with -stdlib=libc++.</div><div><br></div><div>How to solve this problem with my build clang++?</div><div><br></div><div>Sincerely,</div><div>Vivek</div></div>