2013年3月12日 星期二

Upgrade NME and Haxe3

After alias nme
sudo haxelib run nme setup

Got this error:
Called from native/media/SoundChannel.hx line 138
Called from native/Loader.hx line 63
Called from C:\Program Files (x86)\HaxeFoundation\haxe/std/neko/Lib.hx line 30
Uncaught exception - load.c(357) : Primitive not found : /usr/lib/haxe/lib/nmedev/3,6,0//ndll/Mac/nme@nme_sound_channel_set_position(2)

You need to rebuild native library to fixed it.
sudo haxelib run nme rebuild mac