Chad Verbowski via llvm-dev
2020-Jul-04 23:06 UTC
[llvm-dev] Help identifying lib for unresolved external symbol public: void __cdecl llvm::cfg::Update<class llvm::BasicBlock *>::dump(void)const
Hi - I'm trying to build some code on Windows, and struggling to resolve this link error. I assume there is an llvm lib I'm missing beyond what is in llvm-config --libs. Anyone have an idea which .lib may have this? Thanks! BWCET-476fba.o : error LNK2001: unresolved external symbol "public: void __cdecl llvm::cfg::Update<class llvm::BasicBlock *>::dump(void)const " (?dump@?$Update at PEAVBasicBlock@llvm@@@cfg at llvm@@QEBAXXZ) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200704/df030275/attachment.html>
Chad Verbowski via llvm-dev
2020-Jul-05 00:20 UTC
[llvm-dev] Help identifying lib for unresolved external symbol public: void __cdecl llvm::cfg::Update<class llvm::BasicBlock *>::dump(void)const
My mistake - it's in the debug version of llvmcore.lib , not in the release version. On Sat, Jul 4, 2020 at 4:06 PM Chad Verbowski <chad at verbowski.com> wrote:> Hi - I'm trying to build some code on Windows, and struggling to resolve > this link error. I assume there is an llvm lib I'm missing beyond what is > in llvm-config --libs. > > Anyone have an idea which .lib may have this? > > Thanks! > > BWCET-476fba.o : error LNK2001: unresolved external symbol "public: void > __cdecl llvm::cfg::Update<class llvm::BasicBlock *>::dump(void)const " > (?dump@?$Update at PEAVBasicBlock@llvm@@@cfg at llvm@@QEBAXXZ) >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200704/c5a80dc5/attachment.html>