To build on Windows using clang, add this to your configuration. export CC=clang -D__GNUC__ export CXX=clang++ -D__GNUC__ This needs more details!