Lime 样本无法编译
Lime samples won't compile
我无法构建石灰样本。我错过了什么?怎么回事?
这就是我最近几天一直在做的事情:
- 下载并安装最新版本的 haxe
- haxelib 安装 lime
- haxelib 运行 石灰设置
- haxelib 运行 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]
正如@larsiusprime在问题评论中猜测的那样,它看起来像错误的 haxe 版本
你的 haxe 版本是 3.1.3
同时最新的 haxe 版本 3.2.1
尝试更新 haxe 工具包
我无法构建石灰样本。我错过了什么?怎么回事?
这就是我最近几天一直在做的事情:
- 下载并安装最新版本的 haxe
- haxelib 安装 lime
- haxelib 运行 石灰设置
- haxelib 运行 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]
正如@larsiusprime在问题评论中猜测的那样,它看起来像错误的 haxe 版本
你的 haxe 版本是 3.1.3
同时最新的 haxe 版本 3.2.1
尝试更新 haxe 工具包