OpenFL first tutorial problem

Hi I’m new with haxe and openfl. i was following the tutorial on http://www.openfl.org/learn/tutorials/your-first-project/, to display a bitmap, when i try to test on neko or html5 i get all sort of issues as you can see

  1. When i use openfl test neko
    /usr/share/haxe/lib/openfl/2,2,4/openfl/display3D/Context3D.hx:33: characters 16-54 : Class not found : UInt

  2. When i use openfl test html5
    /usr/share/haxe/lib/lime/2,1,3/lime/Assets.hx:1220: characters 1-23 : Cannot declare member variable in abstract
    /usr/share/haxe/lib/lime/2,1,3/lime/Assets.hx:1221: characters 1-19 : Cannot declare member variable in abstract
    /usr/share/haxe/lib/lime/2,1,3/lime/Assets.hx:1222: characters 1-21 : Cannot declare member variable in abstract
    /usr/share/haxe/lib/lime/2,1,3/lime/Assets.hx:1223: characters 1-21 : Cannot declare member variable in abstract
    /usr/share/haxe/lib/lime/2,1,3/lime/Assets.hx:1224: characters 1-21 : Cannot declare member variable in abstract
    /usr/share/haxe/lib/lime/2,1,3/lime/Assets.hx:1225: characters 1-27 : Cannot declare member variable in abstract
    /usr/share/haxe/lib/lime/2,1,3/lime/Assets.hx:1226: characters 1-19 : Cannot declare member variable in abstract
    /usr/share/haxe/lib/lime/2,1,3/lime/utils/ByteArray.hx:8: characters 7-24 : Class not found : haxe.zip.Compress

Please help!! Thank you

first of all you should update your haxelib and try again

command line

haxelib upgrade

Make sure you’re running Haxe 3.1.3, at least. If you’re on Linux, I’d recommend using the install script here: http://www.openfl.org/builds/haxe