clang/clang++ doesn't find C/C++ headers in windows?
Try this one
Installing Clang 3.5 for Windows.
Regards.
The current method to do it is...
- Install mingw-w64-install.exe (currently 7.2.0, make sure to set "i686" to "x86_64" when asked)
- Install Clang for Windows (64-bit) (currently 5.0.0)
When asked, default paths. Place them both in your system path (accessible for all users). The Clang installer will put clang in the path if you ask it to, for Mingw, you have to do it manually, I recommend PathEditor2. For the current version of Mingw, the directory to add to your path is C:\Program Files\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev0\mingw64\bin
Then when invoking Clang, use...
clang -target x86_64-pc-windows-gnu test.c -otest.exe
Clang will search your path to find the Mingw headers and libraries, make sure you only have one version in your path.