meps
August 24, 2015, 10:14pm
#1
When I’m trying to build HTML5 project in Lime environment from standard FlashDevelop template I’m getting error:
C:\HaxeToolkit\haxe\std/js/html/Document.hx:514: characters 15-102 : Class not found : SourceElement
I have commented this string and got another error:
C:\HaxeToolkit\haxe\std/js/html/svg/SVGElement.hx:130: characters 1-35 : Class not found : Angle
I have commented string again and then project was created and started seamlessly.
Is this is an issue with your Haxe install? I’ve seen issues where sometimes someone is missing files in their haxe/std directory, I’m not sure why. This seems like things that are core to Haxe that might just be missing for some reason
meps
August 25, 2015, 5:13am
#3
Yes these files are absent. Here the list of my haxe libs:
actuate: 1.8.3 [1.8.6]
flixel: 3.3.10 [3.3.11]
haxelib_client: [3.2.0-rc.3]
HaxePunk: [2.5.6]
haxeui: 1.7.13 1.7.14 [1.7.16]
hscript: 2.0.4 [2.0.5]
hxcpp: [3.2.102]
hxlibc: [1.1.4]
hxtools: [1.1.6]
lime-tools: [1.5.7]
lime: 2.4.7 2.4.9 2.5.2 2.5.3 [2.6.0]
msgpack-haxe: [1.15.0]
nme: [5.4.2]
openfl-compatibility: [1.0.1]
openfl-html5-dom: [1.2.2]
openfl-html5: 1.0.5 [1.4.2-beta]
openfl-native: [1.4.0]
openfl-ouya: [1.0.2]
openfl-samples: 2.2.2 [3.1.0]
openfl-stage3d: [0.1.6]
openfl-tools: [1.0.10]
openfl: 3.1.1 3.1.3 3.2.2 3.3.0 [3.3.1]
protoc-gen-haxe: [1.2.1]
stablexui: [1.1.5]
stage3d-glsl: [0.1.0]
svg: [1.0.8]
swf: 1.8.9 [1.9.1]
tilelayer: [0.2.0]
yagp: [1.1.4]
From time to time I wipe older versions.
meps
August 25, 2015, 5:30am
#4
BTW I have two directories of haxe stuff – one c:\Motion-Twin\haxe\lib
with all external libraries and other c:\HaxeToolkit\haxe\std
with standard one.
meps
August 25, 2015, 5:45am
#5
I have copied these two files from current github haxe repository and now everything works fine.