eos icon indicating copy to clipboard operation
eos copied to clipboard

Building latest Web Assemble changes

Open jcalfee opened this issue 9 years ago • 5 comments

After adding the llvm dependency in Docker/Dockerfile (RUN pacman ... llvm) the build progresses nicely.

UNTIL

error: no member named 'parseDecimalF64' in namespace 'std'

/usr/sbin/../lib64/gcc/x86_64-pc-linux-gnu/7.1.1/../../../../include/c++/7.1.1/stdlib.h:75:12: error: no member named 'parseDecimalF64' in namespace 'std'
using std::strtod;
      ~~~~~^

So, is this really true? Is Mac's version of clang really going around masquerading as g++?

https://stackoverflow.com/questions/25322489/error-no-member-named-stod-in-namespace-std

jcalfee avatar Jun 19 '17 18:06 jcalfee

Hi James, Are you building on a mac? Coincidentally I was just discussing with my colleague this exact error message occurring on his Ubuntu build platform. He's installed llvm 4.0 but there is an inconsistency with the stdlib.h and eos/libraries/wasm-jit/Source/WAST/ParseNumbers.cpp. On my mac there is no issue.

pmesnier avatar Jun 19 '17 20:06 pmesnier

archlinux from the Docker Nathan checked in:

FROM base/archlinux:latest

jcalfee avatar Jun 20 '17 14:06 jcalfee

I'm still trying to figure out how to build on Linux since wasm-jit got added. Ref https://github.com/WebAssembly/wasm-jit-prototype/issues/8 for progress.

nathanielhourt avatar Jun 20 '17 18:06 nathanielhourt

@jcalfee Those errors should be gone with the latest commits. Can you move forward now?

nathanielhourt avatar Jun 20 '17 19:06 nathanielhourt

@nathanhourt it builds.. We can all move forward now.

jcalfee avatar Jun 20 '17 19:06 jcalfee