0

当我将 stablexui 升级到最新版本时,我首先将其删除:

haxelib remove stablexui

然后安装最后一个版本:

haxelib install stablexui

然后,当我尝试编译时,出现此错误:

src/com/clientside/Icon.hx:3:字符 7-30:找不到类:ru.stablex.ui.UIBuilder 构建因错误(haxelib.exe)而停止。

虽然它已安装,但这是我的 haxelib 列表:

actuate: [1.7.0]
dcaclab_types: [1.0]
hscript: [2.0.1]
hxlibc: [1.0.0]
hxtools: [1.1.6]
openfl: [1.1.1]
openfl-html5-dom: [1.1.1]
openfl-native: [1.1.4]
openfl-samples: [1.1.0]
rox-i18n: [1.0.0]
stablexui: [1.0.15]
swf: [1.1.1]

任何人都可以帮忙吗?

4

1 回答 1

1

您可能需要更新 haxelib 本身。尝试haxelib selfupdate(然后 haxe update.hxml)。在 3.1.0 版本中,我们引入了将库的类路径放入包的子文件夹的可能性,许多库都使用它。不幸的是,Haxe 安装程序仍然带有 haxelib 3.0.0。

于 2013-11-18T12:36:45.253 回答