I am compiling a file lexer.java
that I generated from lexer.flex
, it contains the library java_cup.runtime.*;
but when copying it this error appears and generates more errors:
private Symbol symbol (int type) error: can not find symbol. private Symbol symbol (float type)
I have compiled in the same directory the archivo.cup
with the parser.java and the sym.java with the symbols, I do not know why it says now that it does not find java_cup.runtime when it is in the same directory as the other files.
I think I have tried everything, but if you can help me, I would greatly appreciate it since I have been here for several days and I do not give them to them.
Thank you,