[antlr-interest] Cygwin and 2.7.5 of Antlr
Ric Klaren
ric.klaren at gmail.com
Tue Mar 29 08:35:11 PST 2005
Chris Sparks wrote:
> I have followed the instructions provided by Tom to get Antlr to work
> under cygwin and I am stuck at instruction 7 of the first part (the
> compiling everything part). I did receive warnings as he stated,
> however, it stopped based on some errors and here they are:
Doesn't 2.7.5 work out of the box?? E.g. the default configure, make,
make install ?
> antlr/debug/misc/JTreeASTPanel.java: In class
> `antlr.debug.misc.JTreeASTPanel':
> antlr/debug/misc/JTreeASTPanel.java: In constructor
> (javax.swing.tree.TreeModel,javax.swing.event.TreeSelectionListener)':
> antlr/debug/misc/JTreeASTPanel.java:23: error: class 'javax.swing.JTree'
> has no method named '<init>' matching signature
> '(Ljavax/swing/tree/TreeModel;)V'
> antlr/debug/misc/JTreeASTPanel.java:23: error: expected type
> 'javax.swing.JTree' but stack contains 'void'
> antlr/debug/misc/JTreeASTPanel.java:23: error: expected type
> 'antlr.debug.misc.JTreeASTPanel' but stack contains 'javax.swing.JTree'
> antlr/debug/misc/JTreeASTPanel.java:23: confused by earlier errors,
> bailing out
If you're trying for a native binary with gcj you should leave out all
the swing stuff.
Cheers,
Ric
More information about the antlr-interest
mailing list