当我尝试使用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
如何解决此错误?
答案 0 :(得分:0)
运行以下命令解决了我的问题:
sudo cp /usr/lib/haxe/lib/nme/3,4,3/ndll/Mac/tls.ndll /usr/lib/neko/tls.ndll
似乎是Haxe的一个错误,但在解决之前,这应该可以解决问题。