Emscripten Setup Support

19 views
Skip to first unread message

Mayur Pai

unread,
Jun 18, 2019, 11:38:05 AM6/18/19
to emscripten-discuss
Hi,

I am new to emscripten and got interested as we have a  complex C++ code that we want converted to Javascript.

I have installed emscripten on my laptop and have been able to verify the installation successfully by running emcc -v. However when I try to run the sample project, emscripten seems to be getting hanged consistently. Any recommendation on what might be happening and what I should try next?

C:\emsdk-master\fastcomp\emscripten\tests>emcc hello_world.cpp
cache:INFO: generating system library: libdlmalloc.bc... (this will be cached in "C:\Users\i718761\.emscripten_cache\asmjs\libdlmalloc.bc" for subsequent builds)
cache:INFO:  - ok
cache:INFO: generating system library: libpthreads_stub.bc... (this will be cached in "C:\Users\i718761\.emscripten_cache\asmjs\libpthreads_stub.bc" for subsequent builds)
cache:INFO:  - ok
cache:INFO: generating system library: libc.bc... (this will be cached in "C:\Users\i718761\.emscripten_cache\asmjs\libc.bc" for subsequent builds)

Regards,
Mayur Pai

Joshua Moore

unread,
Jun 18, 2019, 11:55:49 AM6/18/19
to emscripte...@googlegroups.com
It might take a while for libc.bc to build. I'd give it a night and check back the next day. 

--
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 emscripten-disc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/599ce6da-99e1-4710-a664-8bed986300b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alon Zakai

unread,
Jun 18, 2019, 6:37:29 PM6/18/19
to emscripte...@googlegroups.com
Building libc can be quite slow in windows for some reason, sorry about that. We are looking into it,



Reply all
Reply to author
Forward
0 new messages