installing and compiling with emscripten on ubuntu18.4

22 views
Skip to first unread message

mister smith

unread,
Feb 18, 2020, 11:47:53 PM2/18/20
to emscripten-discuss
Hi there.
i am trying to use emscripten with the irrlicht 3D-engine and therefor installed via github the current release of the emscripten-sdk
I went this far yet:
---------------------
emcc -v
WARNING  root: LLVM version appears incorrect (seeing "(/b/s/w/ir/cache/git/chromium.googlesource.com-external-github.com-llvm-llvm--project", expected "3.4")
INFO     root: (Emscripten: Running sanity checks)
CRITICAL root: Cannot find /home/peterk/emsdk-master/upstream/bin/lli, check the paths in ~/.emscripten
-----------------

I checked the path and it seems correct, only there is no file called lli in that folder

any ideas?
thanks in advance
Peter

Floh

unread,
Feb 19, 2020, 8:38:30 AM2/19/20
to emscripten-discuss
That expected LLVM version looks weirdly outdated, it should be much higher (e.g. I'm currently using the master (formerly: incoming) version and that has the expected version at "11.0", but the latest stable version should be behind AFAIK.

In my installed "bleeding edge" SDK installation, there's an lli executable in the directory "/llvm/git/build_master_64/bin/" (this is also where clang and all the other LLVM toolchain tools are).

How did you install the Emscripten SDK, maybe the irrlicht SDK has outdated information?

The "current" SDK is here: https://github.com/emscripten-core/emsdk/.

Cheers,
-Floh.

Floh

unread,
Feb 19, 2020, 8:39:09 AM2/19/20
to emscripten-discuss
> but the latest stable version should be behind

Typo: should *NOT* be behind :)

Alon Zakai

unread,
Feb 19, 2020, 1:36:11 PM2/19/20
to emscripte...@googlegroups.com
The ancient LLVM version, plus asking for lli, suggests that maybe that is a very old emscripten checkout? We used to use that version, and to use lli, but it was years ago. Perhaps that ancient version is in the path?

Try to use the emscripten that is present after doing

./emsdk install latest

there should be a subdir under the emsdk called "upstream/emscripten/" which has the new code. Or, you can clone emscripten from github and use that.

--
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/889d7afb-089e-48e0-9125-b0347d5707d5%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages