HaxeUI库不使用Lime / openFL / Haxe

时间:2016-08-19 16:49:33

标签: haxe openfl lime haxeui

我正在尝试在我的linux机器上运行HelloWorld sample提供的HaxeUI

当我使用Lime或OpenFL测试时 lime test neko 它给出了以下错误:

/usr/lib/haxe/std/neko/_std/sys/FileSystem.hx:59: characters 21-90 : Error stat
/usr/lib/haxe/std/neko/_std/sys/ssl/Key.hx
/usr/lib/haxe/std/neko/_std/sys/FileSystem.hx:68: characters 9-19 : Called from
/home/ahmadz/openfl/haxeui/1,8,20/haxe/ui/toolkit/core/Macros.hx:225: characters 10-44 : Called from
/home/ahmadz/openfl/haxeui/1,8,20/haxe/ui/toolkit/core/Macros.hx:57: characters 2-18 : Called from
/home/ahmadz/openfl/haxeui/1,8,20/haxe/ui/toolkit/core/Toolkit.hx:50: characters 2-26 : Called from
Aborted

然而,当我尝试使用像sudo lime test neko这样的sudo进行测试时,会出现此错误:

Called from openfl/_legacy/utils/ByteArray.hx line 760 
Called from openfl/_legacy/Lib.hx line 284 
Called from openfl/_legacy/Lib.hx line 427 Called from openfl/_legacy/Lib.hx line 219 
Called from /usr/lib/haxe/std/neko/Lib.hx line 30 Uncaught exception - load.c(237) : Failed to load library : lime-legacy.ndll (lime-legacy.ndll: cannot open shared object file: No such file or directory)

以下是我的haxelib list结果:

actuate: [1.8.7]
box2d: [1.2.3]
haxeui: [1.8.20]
hscript: [2.0.7]
hxcpp: [3.3.49]
layout: [1.2.1]
lime-samples: [2.6.0]
lime: 2.9.1 [3.0.3]
openfl-samples: [4.0.0]
openfl: 4.0.3 [3.6.1]
swf: [2.2.3]

我做错了什么?,我是一名OpenFL初学者,我需要HaxeUI来完成我正在进行的项目。 提前谢谢。

1 个答案:

答案 0 :(得分:2)

对于未来的记录和任何面临同样问题的人。 我不得不使用haxelib set lime 2.9.1切换到Lime 2.9.1,现在它可以工作了!