Comments (6)
Unknown option '--emit-jsified-potential-traps'
Looks like binaryen and emsdk out of sync
from wasdk.
Thanks for the quick reply. What can I do to sync them? I noticed I might have skipped a step to install SDK in the section manage sdk
. Then I did that and got a success installation:
$ sudo wasdk sdk --install
Password:
Installing Emscripten
File already downloaded, skipping.
Unpacking ✔
File already downloaded, skipping.
Unpacking ✔
Installing LLVM
File already downloaded, skipping.
Unpacking ✔
Installing Binaryen
File already downloaded, skipping.
Unpacking ✔
Installing Spidermonkey
File already downloaded, skipping.
Unpacking ✔
Then, I tried again.. The first run some stuff is cached, and there are some more errors about version of Emscripten. Can you please take a look? The installation happened through npm install
, so I didn't change any version or anything.
$ sudo wasdk ez fib.c -o fib.js
INFO:root:generating system asset: is_vanilla.txt... (this will be cached in "/Users/wcarvalho/.emscripten_cache/is_vanilla.txt" for subsequent builds)
INFO:root: - ok
WARNING:root:(Emscripten: settings file has changed, clearing cache)
WARNING:root:LLVM version appears incorrect (seeing "3.9", expected "4.0")
ERROR:root:Emscripten, llvm and clang repo versions do not match, this is dangerous (1.37.8, 1.37.5, 1.37.5)
ERROR:root:Make sure to use the same branch in each repo, and to be up-to-date on each. See http://kripken.github.io/emscripten-site/docs/building_from_source/LLVM-Backend.html
INFO:root:(Emscripten: Running sanity checks)
WARNING:root:Assigning a non-existent settings attribute "BINARYEN_IMPRECISE"
WARNING:root: - did you mean one of BINARYEN_PASSES, BINARYEN_METHOD, BINARYEN_MEM_MAX?
WARNING:root: - perhaps a typo in emcc's -s X=Y notation?
WARNING:root: - (see src/settings.js for valid values)
Unknown option '--emit-jsified-potential-traps'
And from this point on, the same errors as I shared previously :)
Thanks again!
Willian
from wasdk.
@Chambs, try to compile binaryen from https://github.com/WebAssembly/binaryen, and copy binaryen/bin
directory content to wasdk/bin/binaryen/bin
. This helped me.
from wasdk.
I updated the builds at wasdk/wasdk-platform-tools for mac and going to produce builds for other platforms soon (currently there are some issues with https://wasm-stat.us/)
from wasdk.
The issue shall be fixed for now by wasdk/wasdk-platform-tools@41e5399
from wasdk.
Thanks @yurydelendik
I will take a look.
Cheers
from wasdk.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wasdk.