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

freehawk2004 sun_yingwei at hotmail.com
Mon Apr 26 03:05:41 PDT 2004


Thank you very much.

I deleted dll.cpp from my project.
but I cannot find the defines of ANTLR_EXPORT or ANTLR_IMPORTS.

Now the error of compile is only --->>>>

'vcl.h': No such file or directory

I still can not find "vcl.h" in my computer.
In the file of "antlr.cpp", "#include <vcl.h>" is included.
Could you know why?

-Freehawk.



--- In antlr-interest at yahoogroups.com, Ric Klaren <klaren at c...> 
wrote:
> 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 u... ----- +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