16 Feb'15
Clang fatal error: standard headers not found
In the morning I decided to try building the json11 library. I almost submitted a github issue but then understood that the error quite silly and was probably originating from my broken setup:
$ make test clang++ -O -std=c++11 -stdlib=libc++ json11.cpp test.cpp -o test -fno-rtti -fno-exceptions In file included from json11.cpp:22: ./json11.hpp:53:10: fatal error: 'string' file not found #include <string> ^ 1 error generated. test.cpp:1:10: fatal error: 'string' file not found #include <string> ^ 1 error generated.
As you might see, string is a part of the standard library.
Let …
Category: 2015