简体   繁体   English

HaxeUI库不适用于Lime / openFL / Haxe

[英]HaxeUI library not working with Lime/openFL/Haxe

I'm trying to run the HelloWorld sample provided by HaxeUI in my linux machine. 我正在尝试在Linux机器上运行HaxeUI提供的HelloWorld示例

when I test using Lime or OpenFL like lime test neko it gives the following error: 当我使用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

however, when I try to test using sudo like sudo lime test neko , this error shows up: 但是,当我尝试像sudo lime test neko一样使用sudo进行sudo lime test neko ,出现此错误:

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)

Here is my haxelib list result: 这是我的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]

Am I doing something wrong?, I'm an OpenFL beginner and I need HaxeUI for a project I'm working on. 我是在做错什么吗?,我是OpenFL的初学者,我需要HaxeUI来从事我正在从事的项目。 Thanks in advance. 提前致谢。

For the future record and anyone facing the same problem. 为了将来的记录和任何面临相同问题的人。 I had to switch to Lime 2.9.1 using haxelib set lime 2.9.1 and now it works! 我必须使用haxelib set lime 2.9.1切换到Lime haxelib set lime 2.9.1 ,现在可以使用了!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM