[antlr-interest] Problem linking C++ generated parser
Sohail Somani
sohail at taggedtype.net
Sun Sep 4 13:54:32 PDT 2005
On Sun, 2005-04-09 at 18:27 +0100, John Williams wrote:
> I have a requirement to build a parser in both Java and C++ under
> Windows and Linux and Antlr 2.7.5 seems to be the answer. My first
> attempts have been in Windows 2000, the generated Java is fine. My
> problem is the generated C++ source files. Compilation is fine but
> linking is the problem. I have tried cygwin, mingw and Visual C++ (V6)
> but all cases I am encountering linker problems. Am I right in assuming
> the ".a" file should be used in cygwin and the .lib in VC? To save
> wasting time posting the error messages, is there a known problem with
> linking Antlr generated C++ files?
Why not post the linking error? I'm sure its something quite simple.
More information about the antlr-interest
mailing list