Linux Woes :(

dreph

  • Posts: 142
Just to give a brief information of the situation:

I don't usually use linux for Stencyl, but I just got a Chromebook at work, and installed Linux, got Stencyl prerequisites installed, and was able to run and make a test scene in Linux... however no matter which test platform I use, it gives a different error.

And yes, I have ran CHMOD 777 on the stencylworks folder (even Stencyl-full folder that's holding all the files) but alas, a different error every time:

Test on Flash Player:

[LOG] Running SWF: /home/dreph/stencylworks/games-generated/Test/Export/flash/bin/Test.swf inside /home/dreph/Stencyl-full/ext-tools/players/flash-10-linux
[LOG] /home/dreph/Stencyl-full/ext-tools/players/flash-10-linux: 1: /home/dreph/Stencyl-full/ext-tools/players/flash-10-linux: Syntax error: "(" unexpected

Test in Browser:

[LOG] Running inside browser.
java.io.FileNotFoundException: /home/dreph/stencylworks/games-generated/Test/Export/flash/bin/Test.swf (No such file or directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:146)
        at stencyl.sw.util.FileUtil.copy(FileUtil.java:292)
        at stencyl.sw.util.FileUtil.copy(FileUtil.java:287)
        at stencyl.sw.io.write.resource.HXWriter.runSWFInBrowser(HXWriter.java:5315)
        at stencyl.sw.app.App$13.run(App.java:1711)
        at stencyl.sw.io.write.resource.HXWriter$6.run(HXWriter.java:2813)
        at stencyl.sw.util.StreamGobbler.run(StreamGobbler.java:99)

Specifically I am just trying to work with Flash because I just started using Stencyl, and I can't find anything in these logs that actually tells me what I need to do for it to successfully export the .SWF into the directory.  I even built the directory structure for games-generated/Test/Export/flash/bin/ and still the .swf does not show up.

Thanks in advance.

dreph

  • Posts: 142
After digging really deep into the official logs, I noticed that there were Syntax errors for the Flash-10-player and haxelib files in the compiling process.

I am on an ARM processor since it is Chromebook Tegra K1 processor, so I think I have to get an ARM version of the flash and haxelib files.  Read somewhere that I would have to possibly compile them myself, and after trying to compile my own, and overwrite the haxelib file with the new one, it still spit out the same error.  I didn't even try to compile flash from a source because the haxelib compilation solution failed for me.

I'm trying a fresh install of everything and seeing if that might help, but it's odd that it would open up just fine, and exporting failed because of haxelib and flash player syntax error... sad times...

captaincomic

  • *
  • Posts: 6108
Late reply, but I just saw your topic. As you have found the problem is the ARM processor. The haxe binaries (haxe, haxelib, haxedoc, neko-linux) shipped with Stencyl are either i386 or x86-64, so they won't work on other architectures. You could try replacing the tools with custom ones build on your system (or maybe with the Raspberry Pi release from haxe.org, which is also ARM).