I am porting a B4a POS app to B4i and am getting the following compiler error;
I assumed it was because I was using a B4a library, but are pretty sure that all of them are OK.
I am using Erels QRgenerator class, which I have totally removed and still got the same error.
I am also using the aGrahams EscPosPrinter class, modified for the serial connection, which I cannot remove as it is a fundamental part of the app. I suspected the error had something to do with image manipulation prior to printing so I commented out that code to no avail.
Any help would be very much appreciated.
Thanks,
Kev
Error:
B4J Version: 9.10
Parsing code. (0.27s)
Java Version: 11
Building folders structure. (0.03s)
Running custom action. (0.03s)
Compiling code. (0.20s)
Compiling layouts code. (0.01s)
Organizing libraries. (0.00s)
Compiling generated Java code. Error
src\b4j\example\main.java:32: error: cannot find symbol
anywheresoftware.b4a.keywords.Common.setDensity(javafx.stage.Screen.getPrimary().getDpi());
^
symbol: method setDensity(double)
location: class Common
1 error
javac 11.0.1
I am using Erels QRgenerator class, which I have totally removed and still got the same error.
I am also using the aGrahams EscPosPrinter class, modified for the serial connection, which I cannot remove as it is a fundamental part of the app. I suspected the error had something to do with image manipulation prior to printing so I commented out that code to no avail.
Any help would be very much appreciated.
Thanks,
Kev