石灰示例无法编译



我无法构建石灰样品。我错过了什么?这是怎么回事?

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

  • 下载并安装最新版本的 haxe
  • 哈克塞利布安装石灰
  • 哈克塞利布运行石灰设置
  • haxelib run lime create SimpleImage C:/ex
  • 哈克塞利布运行石灰测试 C:/ex闪存

我明白这个:

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:哈克塞利布列表:

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

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

您的 Haxe 版本是 3.1.3

同时最新的HAXE版本3.2.1

尝试更新 Haxe 工具包

相关内容

  • 没有找到相关文章

最新更新