Linker Error unresolved external symbol "public: static class antlr4::tree::ParseTreeWalker & antlr4::tree::ParseTreeWalker::DEFAULT" ( #4305
Unanswered
MikhailBelkin
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Guys!
I try to use ANTLR4
Downloaded, make a lib, add include
All project is builded normally with only one linker error:
Severity Code Description Project File Line Suppression State
Error LNK2001 unresolved external symbol "public: static class antlr4::tree::ParseTreeWalker & antlr4::tree::ParseTreeWalker::DEFAULT" (?DEFAULT@ParseTreeWalker@tree@antlr4@@2AEAV123@EA) spreadsheet
Looking for this and found
static ParseTreeWalker &DEFAULT;
in ParseTreeWalker.h
Hope it would be initialized inside the lib?
How to resolve this? can anybody help?
Beta Was this translation helpful? Give feedback.
All reactions