[antlr-interest] error LNK2001

Trey Spiva Trey.Spiva at embarcadero.com
Mon Jan 28 06:58:50 PST 2002


This is a common error when building UNICODE code.  The MSDN help topic is
very useful.

BTW are you going to give out the grammar when you are done?

> -----Original Message-----
> From: jg z [mailto:zjg1964 at yahoo.com]
> Sent: Monday, January 28, 2002 6:36 AM
> To: antlr-interest at yahoogroups.com
> Cc: David Wigg
> Subject: [antlr-interest] error LNK2001
> 
> 
> Hi, folks,
>     We have updated a cplusplus.g file from PCCTS1.33
> to ANTLR-2.7.1, and generated the Lexer.hpp,
> Lexer.cpp, Parser.hpp and Parser.cpp files with it. We
> have also made some necessary alteration to
> support.cpp, main.cpp and sevearl .h files to make
> every .cpp file go through compiler.
>    When we finally Build the .exe file, there is
> always the following complaint.
> "LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved
> external symbol _WinMain at 16."
>    We have worked a few days on it, but can't go
> further. Hope somebody know the trick or the key to
> it, please help us. 
> 
>       Thank you in advance.
> 
>          zuo   28/1
> 
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Great stuff seeking new owners in Yahoo! Auctions! 
> http://auctions.yahoo.com
> 
>  
> 
> Your use of Yahoo! Groups is subject to 
http://docs.yahoo.com/info/terms/ 


 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



More information about the antlr-interest mailing list