question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Emscripten errors on installing

See original GitHub issue

Following the readme, I did brew install emscripten. When it was complete, I tried the make xwsolve.js and receive the following:

third_party/glucose-3.0/simp  master ✔                                                                                                                   156d
➢ make xwsolve.js
Compiling: /Users/caleb/Documents/git/thompsch/Phil/third_party/glucose-3.0/simp/Main.o
WARNING:root:LLVM version appears incorrect (seeing "9.1", expected "6.0")
CRITICAL:root:fastcomp in use, but LLVM has not been built with the JavaScript backend as a target, llc reports:
===========================================================================
(no targets could be identified: [Errno 2] No such file or directory)
===========================================================================
CRITICAL:root:you can fall back to the older (pre-fastcomp) compiler core, although that is not recommended, see http://kripken.github.io/emscripten-site/docs/building_from_source/LLVM-Backend.html
INFO:root:(Emscripten: Running sanity checks)
ERROR:root:Cannot find /usr/bin/llvm-link, check the paths in ~/.emscripten
make: *** [/Users/caleb/Documents/git/thompsch/Phil/third_party/glucose-3.0/simp/Main.o] Error 1

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:7

github_iconTop GitHub Comments

2reactions
FaritaTasnimcommented, Jul 10, 2020

I’m also running into this same error as @lothan but any SDK previous to 1.39.1 is not installable for me. I tried the sdk’s @dalanmiller mentioned but getting the same erros he posted. Anyone have any idea how to move forward?

1reaction
ert-pluscommented, Nov 2, 2019

I had your second error (and I’m not on a mac), but fixed it by installing an older version of Emscripten (sdk-1.37.20-64bit, the most recent version at this project’s last commit). Building from the source I did

$ ./emsdk install sdk-1.37.20-64bit
$ ./emsdk activate sdk-1.37.20-64bit
$ source ./emsdk_env.sh
Read more comments on GitHub >

github_iconTop Results From Across the Web

emsdk install failing · Issue #6275 · emscripten-core ... - GitHub
I am trying to update my emsdk installation and getting the following error after running ./emsdk install latest.
Read more >
Emscripten Error while installing - Stack Overflow
I downloaded the emscripten files from github. Then used the following commands: 1. emsdk update 2. emsdk install latest.
Read more >
Download and install — Emscripten 3.1.26-git (dev ...
Installation instructions using the emsdk (recommended)¶. First check the Platform-specific notes below and install any prerequisites.
Read more >
C++ Exceptions Support - Emscripten
Why do I get multiple errors building basic code and the tests? ... Installing Sphinx · Site builds · SDK Builds · Build...
Read more >
Debugging — Emscripten 3.1.26-git (dev) documentation
Compiler settings to enable runtime checking of memory accesses and common allocation errors. Manual print debugging of Emscripten-generated code is also ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found