Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When compiling LLVM 3.3 under Cygwin, g++ does not find the appropriate header files, although they are surely present.

$ make --trace

g++ -I/cygdrive/c/llvm-3.3.src/include -I/cygdrive/c/llvm-3.3.src/lib/Support -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3 -fomit-frame-pointer -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -Woverloaded-virtual -Wcast-qual -Wall -W -Wno-unused-parameter -Wwrite-strings -c -MMD -MP -MF "/cygdrive/c/llvm-3.3.src/lib/Support/Release+Asserts/APFloat.d.tmp" -MT "/cygdrive/c/llvm-3.3.src/lib/Support/Release+Asserts/APFloat.o" -MT "/cygdrive/c/llvm-3.3.src/lib/Support/Release+Asserts/APFloat.d" APFloat.cpp -o /cygdrive/c/llvm-3.3.src/lib/Support/Release+Asserts/APFloat.o

fatal error: 'llvm/ADT/APFloat.h' file not found

What could be the problem?

share|improve this question

1 Answer 1

You are probably running g++ from your MinGW installation. Check if it's in the PATH with which g++.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.