LLVM external funtion error

Hello,

I'm running LLVM on windows. Whenever I try to colpile my code with clang I
get the following error:

LLVM ERROR: Program used external function '__GetGlobalContext' which could
not be resolved.

This error occir in all programs I try to compile containing LLVM headers.

Can anyone help me in solving this problem?