[英]FlashDevelop / Haxe - build halted with errors (haxelib.exe)
I'm trying to get started with Haxe but I can't even get past the easiest step, compiling the "new project" template. 我正在尝试开始使用Haxe,但我什至无法跳过最简单的步骤,即编译“新项目”模板。 I'm using FlashDevelop 4, installed Haxe and used the the command
haxelib install openfl
to install openfl (did the same for NME) though I still get the most basic compiler error: 我正在使用FlashDevelop 4,已安装Haxe,并使用命令
haxelib install openfl
来安装openfl(对于NME也是一样),尽管我仍然得到最基本的编译器错误:
haxelib run openfl build C:\dev\haxeBox\openFlTest\application.xml android -debug
[file_contents,C:\Program Files(x86)\Haxe\haxe\lib\openfl//.current]
Build halted with errors (haxelib.exe).
I've googled a couple of hours but I couldn't find anything that would remotely point me into the right direction, therefore I hope anybody has solved this issue before. 我已经搜寻了几个小时,但找不到任何可以遥遥指向正确方向的东西,因此,我希望有人能解决这个问题。
Turns out I had OpenFL downloaded but not successfully installed. 原来我已经下载了OpenFL,但未成功安装。 I did install haxe to
\\Program Files(x86)\\Haxe
but didn't execute the setup commands with admin rights. 我确实将haxe安装到
\\Program Files(x86)\\Haxe
但是没有以管理员权限执行安装命令。 If you run into that issue make sure either you got the nessecarry rights when executing: 如果遇到此问题,请确保在执行时获得了nessecarry权限:
haxelib install lime
haxelib run lime setup
lime install openfl
Otherwise haxelib run lime setup
won't do anything. 否则,
haxelib run lime setup
将无法执行任何操作。
If you get stuck at another point, try the official setup guide . 如果遇到其他问题,请尝试使用官方安装指南 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.