gdx-backend-jtransc icon indicating copy to clipboard operation
gdx-backend-jtransc copied to clipboard

LimeFileInputStream_.hx: You cannot access the sys package while targeting js

Open winniehell opened this issue 7 years ago • 1 comments

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?

winniehell avatar Nov 24 '17 19:11 winniehell

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)

wiltonlazary avatar May 21 '18 05:05 wiltonlazary