FlashDevelop / Haxe - build halted with errors (haxelib.exe)

谁说我不能喝 提交于 2019-12-11 11:55:01

问题


I'm trying to get started with Haxe but I can't even get past the easiest step, compiling the "new project" template. 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:

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.


回答1:


Turns out I had OpenFL downloaded but not successfully installed. I did install haxe to \Program Files(x86)\Haxe but didn't execute the setup commands with admin rights. If you run into that issue make sure either you got the nessecarry rights when executing:

haxelib install lime
haxelib run lime setup
lime install openfl

Otherwise haxelib run lime setup won't do anything.

If you get stuck at another point, try the official setup guide.



来源:https://stackoverflow.com/questions/22596766/flashdevelop-haxe-build-halted-with-errors-haxelib-exe

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!