gdx-backend-jtransc
gdx-backend-jtransc copied to clipboard
LimeFileInputStream_.hx: You cannot access the sys package while targeting js
When I run runHtml5 in https://github.com/jtransc/jtransc-examples/tree/master/libgdx/invaders, I get:
LimeFileInputStream_.hx:7: characters 12-28 : You cannot access the sys package while targeting js (for sys.io.FileInput)
for this line: https://github.com/jtransc/gdx-backend-jtransc/blob/0c6875172463a9936e8463fde513e866ce847ae6/gdx-backend-jtransc/src/com/jtransc/media/limelibgdx/LimeFileInputStream.java#L10
Is it necessary to exclude this file from JS?
I have same issue, runs fine on linux, but give this error on ./gradlew runHtml5
Execute command /usr/bin/haxelib run lime test html5 -release -Dsource-header=0 src/z/RZ.hx:7: characters 12-28 : You cannot access the sys package while targeting js (for sys.io.FileInput)