If you use the emscripten SDK (https://kripken.github.io/emscripten-site/docs/tools_reference/emsdk.html), the following should work:
> ./emsdk update > ./emsdk list ... > ./emsdk install sdk-incoming-64bit > ./emsdk activate sdk-incoming-64bit Am Montag, 24. August 2015 10:57:48 UTC+2 schrieb Sergey Solozhentsev: > > could you tell me url where I can read how to setup incoming branch on my > pc? > > On Fri, Aug 21, 2015 at 10:16 PM, Alon Zakai <[email protected] > <javascript:>> wrote: > >> Thanks for the files. This was a bug in the backend, fixed on incoming. I >> verified this project builds ok now. >> >> On Fri, Aug 21, 2015 at 1:27 AM, Sergey Solozhentsev < >> [email protected] <javascript:>> wrote: >> >>> I prepared archive with all files I use >>> >>> >>> https://drive.google.com/file/d/0B1PbczW6QMAyc19SQXBRTFhxcjg/view?usp=sharing >>> >>> command line >>> emcc loader.bc libs.bc __file0.bc __file1.bc __file2.bc __file3.bc >>> __file4.bc __file5.bc __file6.bc __file7.bc @game_link.config -o >>> html/game.js >>> >>> I hope it is enough >>> >>> On Thu, Aug 20, 2015 at 5:26 PM, Bruce Mitchener <[email protected] >>> <javascript:>> wrote: >>> >>>> Hello, >>>> >>>> On Thu, Aug 20, 2015 at 7:23 PM, Sergey Solozhentsev < >>>> [email protected] <javascript:>> wrote: >>>> >>>>> Hi >>>>> >>>>> I have strange eror on the latest version of emscripten >>>>> >>>>> LLVM ERROR: CE->getOpcode() == Instruction::BitCast >>>>> >>>> >>>> This is the root of your problem here and where you should focus your >>>> attention. If you can get or provide any additional information about >>>> this, it will be very useful. Alon may of course just immediately >>>> recognize >>>> what's wrong here, but probably would appreciate more info. :) >>>> >>>> >>>>> Traceback (most recent call last): >>>>> File "C:\Program >>>>> Files\Emscripten\emscripten\tag-1.34.5\emscripten.py", line 1080, in >>>>> <module> >>>>> _main(environ=os.environ) >>>>> File "C:\Program >>>>> Files\Emscripten\emscripten\tag-1.34.5\emscripten.py", line 1070, in _main >>>>> temp_files.run_and_clean(lambda: main( >>>>> File "C:\Program >>>>> Files\Emscripten\emscripten\tag-1.34.5\tools\tempfiles.py", line 47, in >>>>> run_and_clean >>>>> return func() >>>>> File "C:\Program >>>>> Files\Emscripten\emscripten\tag-1.34.5\emscripten.py", line 1076, in >>>>> <lambda> >>>>> DEBUG_CACHE=DEBUG_CACHE, >>>>> File "C:\Program >>>>> Files\Emscripten\emscripten\tag-1.34.5\emscripten.py", line 977, in main >>>>> temp_files=temp_files, DEBUG=DEBUG, DEBUG_CACHE=DEBUG_CACHE) >>>>> File "C:\Program >>>>> Files\Emscripten\emscripten\tag-1.34.5\emscripten.py", line 102, in >>>>> emscript >>>>> start_funcs = backend_output.index(start_funcs_marker) >>>>> ValueError: substring not found >>>>> >>>> >>>> This might be worth generating a better error message ... or why did >>>> emscripten go on and run when it looks like clang failed? That seems like >>>> a >>>> bug as well, but incidental to your actual issue. >>>> >>>> - Bruce >>>> >>>> >>>>> Traceback (most recent call last): >>>>> File "C:\Program Files\Emscripten\emscripten\tag-1.34.5\\emcc", line >>>>> 1295, in <module> >>>>> final = shared.Building.emscripten(final, append_ext=False, >>>>> extra_args=extra_args) >>>>> File "C:\Program >>>>> Files\Emscripten\emscripten\tag-1.34.5\tools\shared.py", line 1519, in >>>>> emscripten >>>>> assert os.path.exists(filename + '.o.js'), 'Emscripten failed to >>>>> generate .js' >>>>> AssertionError: Emscripten failed to generate .js >>>>> >>>>> What does it mean? and how can I fixed it? >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "emscripten-discuss" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to [email protected] >>>>> <javascript:>. >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "emscripten-discuss" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected] >>>> <javascript:>. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "emscripten-discuss" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected] >>> <javascript:>. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "emscripten-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
