[antlr-interest] Pls help me how to use antlr in VC++6.0?

Ric Klaren klaren at cs.utwente.nl
Mon Apr 26 02:50:43 PDT 2004


On Mon, Apr 26, 2004 at 06:16:40AM -0000, freehawk2004 wrote:
>  I am a beginner at using antlr. 
>  Now I downloaded antlr2.7.4 and J2SDK1.4.2, and I newed a static 
> lib project and added all of .c and .hpp files into the project, 
> compiled it. There were two errors as the following'
> 
> 1.'vcl.h': No such file or directory
> 2.#error :  "DLL Build not supported on old MSVC's"

It seems you defined ANTLR_EXPORT or ANTLR_IMPORTS ? You should not do that
when building a static lib. (and DLL is not supported on VC6) also you
don't need to include dll.cpp (in case you did)

Cheers,

Ric
--
-----+++++*****************************************************+++++++++-------
    ---- Ric Klaren ----- j.klaren at utwente.nl ----- +31 53 4893755  ----
-----+++++*****************************************************+++++++++-------
  "Good judgement comes from experience.
     Experience comes from bad judgement." --- Unknown



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
     antlr-interest-unsubscribe at yahoogroups.com

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



More information about the antlr-interest mailing list