Haxe:重建hxcpp失败,错误:无法找到构建目标“std”

时间:2015-09-09 19:31:00

标签: haxe openfl nme hxcpp

尝试重建hxcpp失败,并显示隐秘的错误消息:

Error: Could not find build target "std"

1 个答案:

答案 0 :(得分:4)

有些用户报告了这个提示(我发誓当我遇到这个问题时我没有看到它,除非我只是失明):

Have you tried rebuilding the hxcpp.n and build.n scripts?
This is done by running haxe in the tools/hxcpp and tools/build directories.

因此:

cd hxcpp/tools/hxcpp
haxe compile.hxml
cd ../build
haxe compile.hxml

修复它。

另请注意,如果您只需要比haxelib提供的版本更新的版本,则可以从nmehost.comopenfl.org获取每晚hxcpp版本。