0

当我尝试使用 Haxe 和 NME 在 OSX Lion 上编译为 cpp 时,我得到以下回溯:

[...many lines above this one omitted...]
Called from ? line 1
Called from BuildTool.hx line 1265
Called from BuildTool.hx line 554
Called from a C function
Called from BuildTool.hx line 591
Called from BuildTool.hx line 710
Called from BuildTool.hx line 739
Called from BuildTool.hx line 153
Uncaught exception - Error creating pch: 256 - build cancelled

我该如何解决这个错误?

4

1 回答 1

0

运行以下命令为我解决了这个问题:

sudo cp /usr/lib/haxe/lib/nme/3,4,3/ndll/Mac/tls.ndll /usr/lib/neko/tls.ndll

似乎是 Haxe 的错误,但在解决之前,这应该可以解决问题。

于 2013-01-01T09:19:39.970 回答