-
Hi All, My experience is that I can successfully build a msbuild tree with CMAKE that Visual Studio can operate on the Solutions file (I have not yet examined built in CMAKE in visual studio). As long as I use/build a dynamic version (DLL) of the antlr4 cpp runtime. I can build the static antlr4 runtime, but I can't link my parser to it. Just wondering if anyone has been successful with that. I could use some breadcrumbs. I have to use MFC, and I recall some issues with ATL vs MFC declarations but I'd have to get back to this to post the actual linker errors I see. If it is MFC/ATL then it's some type of header declaration issue. I'm also getting a /MDd /MTd type warning at the moment, that could be new cockpit error. Thanks for the nifty parser and all the work thats going on. I'll try to elaborate here when/if I have more time. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I Pulled the latest repository 11/15/2021, and did a build of the antlr4-static and got a library that links fine. It appears there were some fixes since I pulled the repo in March of 2020. Nice work everyone! |
Beta Was this translation helpful? Give feedback.
I Pulled the latest repository 11/15/2021, and did a build of the antlr4-static and got a library that links fine. It appears there were some fixes since I pulled the repo in March of 2020. Nice work everyone!
I'm now able to get my parser DLL to work with my application. The performance isn't quite what I had hoped, so I likey have some issues in my definition that could be tweeked. But it works.
It's always a trade off, write my own reader, or use ANTLR4.