[Please send replies to llvmdev too]
akramul azim <email@example.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.
Linking CXX shared module ../../LLVMHello.dll
CMakeFiles/LLVMHello.dir/Hello.cpp.o:Hello.cpp:(.text+0x1cf): undefined referen
e to `llvm::errs()'
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?