openfl

Open full view…

Missing liblime.a of emscripten target

JianQiu
Fri, 31 Oct 2014 10:12:52 GMT

Hi, I got this error when trying to build PiratePig targeting emscripten. I can't find out how to get the liblime.a Please help me. Thank you. emcc Export/emscripten/obj/Main.cpp -o Export/emscripten/obj/Main.o emcc Main.o /usr/lib/haxe/lib/hxcpp/3,1,39/lib/Emscripten/libstd.a /usr/lib/haxe/lib/hxcpp/3,1,39/lib/Emscripten/libregexp.a /usr/lib/haxe/lib/hxcpp/3,1,39/lib/Emscripten/libzlib.a /usr/lib/haxe/lib/lime/2,0,0-alpha,6/legacy/ndll/Emscripten/liblime.a /usr/lib/haxe/lib/lime/2,0,0-alpha,6/legacy/ndll/Emscripten/liblibfree type.a ApplicationMain.a -o ApplicationMain.o ERROR root: /usr/lib/haxe/lib/lime/2,0,0-alpha,6/legacy/ndll/Emscripten/liblime.a: No such file or directory ("/usr/lib/haxe/lib/lime/2,0,0-alpha,6/legacy/ndll/Emscripten/liblime. a" was expected to be an input file, based on the commandline arguments provided)

mrcdk
Fri, 31 Oct 2014 23:08:25 GMT

You will need to rebuild the emscripten lime library (and probably others like hxcpp) To do so you can do `lime rebuild emscripten -Dlegacy` and `lime rebuild hxcpp emscripten` or something similar to that. Even then, emscripten is/was an experimental target and it won't probably work, good luck :)

JianQiu
Sat, 01 Nov 2014 08:22:27 GMT

@mrcdk "lime rebuild emscripten -Dlegacy" doesn't generate the liblime.a . Here is the log with "-verbose": --------------------------------------------- Initializing project... Reading HXCPP config: /Users/7ujian/.hxcpp_config.xml Using target platform: EMSCRIPTEN Running command: REBUILD --------------------------------------------- I removed and reinstalled lime and still no luck.