[LLVMdev] Trouble building LLVM 3.5.1 on Windows using VS 2013

Dibyendu Majumdar mobile at majumdar.org.uk
Wed Apr 1 14:29:40 PDT 2015


Hi,

I am trying to build 3.5.1 on windows. I only amended the
CMAKE_INSTALL_PREFIX setting - rest is all default. I am performing a
64-bit release build. The error I get is:

bugpoint.obj : error LNK2019: unresolved external symbol "void __cdecl
polly::initializePollyPasses(class llvm::PassRegistry &)"
(?initializePollyPasses at polly@@YAXAEAVPassRegistry at llvm@@@Z)
referenced in function main
17>C:\llvm-3.5.1.src\build\Release\bin\bugpoint.exe : fatal error
LNK1120: 1 unresolved externals
18>opt.obj : error LNK2019: unresolved external symbol "void __cdecl
polly::initializePollyPasses(class llvm::PassRegistry &)"
(?initializePollyPasses at polly@@YAXAEAVPassRegistry at llvm@@@Z)
referenced in function main
18>C:\llvm-3.5.1.src\build\Release\bin\opt.exe : fatal error LNK1120:
1 unresolved externals

Is this a known issue?

Thanks and Regards

Dibyendu



More information about the llvm-dev mailing list