[LLVMdev] LLVM installation in Windows

Óscar Fuentes ofv at wanadoo.es
Tue Dec 21 12:34:42 PST 2010


[Please send replies to llvmdev too]

akramul azim <bijoy123_8 at yahoo.com> writes:

> When using cmake and use make command to build, i get the following error:
>
> Scanning dependencies of target LLVMHello
> [ 40%] Building CXX object lib/Transforms/Hello/CMakeFiles/LLVMHello.dir/Hello.
> pp.o
> Linking CXX shared module ../../LLVMHello.dll
> CMakeFiles/LLVMHello.dir/Hello.cpp.o:Hello.cpp:(.text+0x1cf): undefined referen
> e to `llvm::errs()'

[snip]

> Can u please tell me what should I do?

Building dlls is not supported by the LLVM cmake build on Windows. By
default, static libraries are generated. Did you explicitly asked for
dynamic libraries? What was your cmake command? What LLVM version are
you trying to compile?



More information about the llvm-dev mailing list