石灰样品不会编译

时间:2016-02-17 17:12:55

标签: haxe openfl lime

我无法建立石灰样本。我错过了什么?发生了什么事?

这是我过去几天一直在做的事情:

  • 下载并安装最新版本的haxe
  • haxelib安装石灰
  • haxelib run lime setup
  • haxelib run lime创建SimpleImage C:/ ex
  • haxelib运行石灰测试C:/ ex flash

我明白了:

C:/HaxeToolkit/haxe/lib/lime/2,9,0/lime/graphics/format/BMP.hx:60: characters 3-16 : haxe.io.Bytes has no field setInt32
C:/HaxeToolkit/haxe/lib/lime/2,9,0/lime/graphics/format/BMP.hx:61: characters 3-17 : haxe.io.Bytes has no field setUInt16
C:/HaxeToolkit/haxe/lib/lime/2,9,0/lime/graphics/format/BMP.hx:62: characters 3-17 : haxe.io.Bytes has no field setUInt16
C:/HaxeToolkit/haxe/lib/lime/2,9,0/lime/graphics/format/BMP.hx:63: characters 3-16 : haxe.io.Bytes has no field setInt32
C:/HaxeToolkit/haxe/lib/lime/2,9,0/lime/graphics/format/BMP.hx:67: characters 2-15 : haxe.io.Bytes has no field setInt32
C:/HaxeToolkit/haxe/lib/lime/2,9,0/lime/graphics/format/BMP.hx:68: characters 2-15 : haxe.io.Bytes has no field setInt32
C:/HaxeToolkit/haxe/lib/lime/2,9,0/lime/graphics/format/BMP.hx:69: characters 2-15 : haxe.io.Bytes has no field setInt32
C:/HaxeToolkit/haxe/lib/lime/2,9,0/lime/graphics/format/BMP.hx:70: characters 2-16 : haxe.io.Bytes has no field setUInt16
C:/HaxeToolkit/haxe/lib/lime/2,9,0/lime/graphics/format/BMP.hx:71: characters 2-16 : haxe.io.Bytes has no field setUInt16
C:/HaxeToolkit/haxe/lib/lime/2,9,0/lime/graphics/format/BMP.hx:72: characters 2-15 : haxe.io.Bytes has no field setInt32
C:/HaxeToolkit/haxe/lib/lime/2,9,0/lime/graphics/format/BMP.hx:73: characters 2-15 : haxe.io.Bytes has no field setInt32
C:/HaxeToolkit/haxe/lib/lime/2,9,0/lime/graphics/format/BMP.hx:74: characters 2-15 : haxe.io.Bytes has no field setInt32
C:/HaxeToolkit/haxe/lib/lime/2,9,0/lime/graphics/format/BMP.hx:75: characters 2-15 : haxe.io.Bytes has no field setInt32
C:/HaxeToolkit/haxe/lib/lime/2,9,0/lime/graphics/format/BMP.hx:76: characters 2-15 : haxe.io.Bytes has no field setInt32
C:/HaxeToolkit/haxe/lib/lime/2,9,0/lime/graphics/format/BMP.hx:77: characters 2-15 : haxe.io.Bytes has no field setInt32
C:/HaxeToolkit/haxe/lib/lime/2,9,0/lime/graphics/format/BMP.hx:81: characters 3-16 : haxe.io.Bytes has no field setInt32
C:/HaxeToolkit/haxe/lib/lime/2,9,0/lime/graphics/format/BMP.hx:82: characters 3-16 : haxe.io.Bytes has no field setInt32
C:/HaxeToolkit/haxe/lib/lime/2,9,0/lime/graphics/format/BMP.hx:83: characters 3-16 : haxe.io.Bytes has no field setInt32
C:/HaxeToolkit/haxe/lib/lime/2,9,0/lime/graphics/format/BMP.hx:84: characters 3-16 : haxe.io.Bytes has no field setInt32
C:/HaxeToolkit/haxe/lib/lime/2,9,0/lime/graphics/utils/ImageDataUtil.hx:1088: characters 14-24 : Unknown identifier : NOT_EQUALS
C:/HaxeToolkit/haxe/lib/lime/2,9,0/lime/graphics/utils/ImageDataUtil.hx:1089: characters 14-20 : Unknown identifier : EQUALS
C:/HaxeToolkit/haxe/lib/lime/2,9,0/lime/graphics/utils/ImageDataUtil.hx:1090: characters 14-23 : Unknown identifier : LESS_THAN
C:/HaxeToolkit/haxe/lib/lime/2,9,0/lime/graphics/utils/ImageDataUtil.hx:1091: characters 14-35 : Unknown identifier : LESS_THAN_OR_EQUAL_TO
C:/HaxeToolkit/haxe/lib/lime/2,9,0/lime/graphics/utils/ImageDataUtil.hx:1092: characters 14-26 : Unknown identifier : GREATER_THAN
C:/HaxeToolkit/haxe/lib/lime/2,9,0/lime/graphics/utils/ImageDataUtil.hx:1093: characters 14-38 : Unknown identifier : GREATER_THAN_OR_EQUAL_TO
C:/HaxeToolkit/haxe/lib/lime/2,9,0/lime/graphics/utils/ImageDataUtil.hx:1137: characters 11-21 : Capture variables must be lower-case

当我尝试编译其他项目时,我遇到了各种错误。所有这些错误都和这些错误一样奇怪,好像haxe不知道它自己的类。

非常感谢你的时间!

PS:haxelib列表:

hxcpp: [3.2.205]
lime-samples: [2.6.0]
lime: [2.9.0]

1 个答案:

答案 0 :(得分:0)

正如@larsiusprime在评论中猜到的那样,它看起来像错误的haxe版本

你的haxe版本是3.1.3

同时最新的haxe版本3.2.1

尝试更新haxe toolkit