I've been working on a small game/app for a few weeks and testing in HTML5 solely. But I have had difficulty running on any other platform. The problems I run into are identical to issues with a fresh new demo project so either something is broken in latest libs or something is wrong with my setup.
I cannot even build the demo sample for starling on flash or air and I cannot run HashLink. Only neko and html5 seem to work at all (ios builds but I have no way to test it).
flash and air targets give several errors compiling the .hx files, perhaps not recognizing the type of object correctly.
Hashlink gives an exception at runtime, right at the beginning: "Uncaught exception: Can't cast String to i32". I suspect I'm missing hashlink virtual machine.
All libraries are latest versions but seems to be incompatibility between the latest openfl and starling libraries:
Does this happen for anyone else? Should I nuke my setup and start over?
D:\temp>haxelib list
actuate: [1.8.9]
away3d: [5.0.9]
box2d: [1.2.3]
flixel-addons: [2.8.0]
flixel-demos: [2.7.2]
flixel-templates: [2.6.4]
flixel-tools: [1.4.4]
flixel-ui: [2.3.2]
flixel: [4.6.3]
hscript: [2.3.0]
hxcpp-debug-server: [dev:c:\Users\garr.vscode\extensions\vshaxe.hxcpp-debugger-1.2.4\hxcpp-debug-server]
hxcpp: [4.0.64]
hxnodejs: [12.0.0]
layout: [1.2.1]
lime-samples: [7.0.0]
lime: [7.7.0]
openfl-samples: [8.7.0]
openfl-tools: [1.0.10]
openfl: [8.9.6]
perf.js: [1.1.8]
pixijs: [4.8.4]
starling: [2.5.1]
systools: [1.1.0]
thx.core: [0.44.0]
thx.culture: [0.5.0]
thx.format: [0.6.0]
D:\temp>openfl create starling:demo
D:\temp>cd demo
D:\temp\demo>openfl test air
D:/HaxeToolkit/haxe/lib/starling/2,5,1/src/starling/events/TouchProcessor.hx:265: characters 33-38 : openfl.utils.Object has no field touch
D:/HaxeToolkit/haxe/lib/starling/2,5,1/src/starling/events/TouchProcessor.hx:265: characters 67-73 : openfl.utils.Object has no field target
D:/HaxeToolkit/haxe/lib/starling/2,5,1/src/starling/events/TouchProcessor.hx:266: characters 49-60 : openfl.utils.Object has no field bubbleChain
D:/HaxeToolkit/haxe/lib/starling/2,5,1/src/starling/core/Starling.hx:1075: characters 58-68 : openfl.utils.Object has no field horizontal
D:/HaxeToolkit/haxe/lib/starling/2,5,1/src/starling/core/Starling.hx:1076: characters 56-64 : openfl.utils.Object has no field vertical
D:/HaxeToolkit/haxe/lib/starling/2,5,1/src/starling/core/Starling.hx:1021: characters 95-105 : openfl.utils.Object has no field horizontal
D:/HaxeToolkit/haxe/lib/starling/2,5,1/src/starling/core/Starling.hx:1022: characters 93-101 : openfl.utils.Object has no field vertical
D:/HaxeToolkit/haxe/lib/starling/2,5,1/src/starling/core/Starling.hx:1044: characters 29-39 : openfl.utils.Object has no field horizontal
D:/HaxeToolkit/haxe/lib/starling/2,5,1/src/starling/core/Starling.hx:1045: characters 29-37 : openfl.utils.Object has no field vertical