Re: problem compiling to webassembly

2018-10-02 Thread francisl
I tried a bit more to solve my issue. I remove the -I/usr/include and now the compilation go through. But I'm now facing a linking issue. here is my new configuration @if emscripten: cc = clang clang.exe = "/emsdk/emscripten/1.38.12/emcc" clang.linkerexe =

Re: problem compiling to webassembly

2018-09-26 Thread francisl
Like this I have the same error. Plus I don't see that command when i type nim --help nim c -d:useRealtimeGC -d:release -d:emscripten --os:linux --out=index.html src/cacheim.nim Run of nim c -d:useRealtimeGC -d:release -d:emscripten --os=linux

problem compiling to webassembly

2018-09-24 Thread francisl
I follow a bit of that post [https://forum.nim-lang.org/t/2838#18350](https://forum.nim-lang.org/t/2838#18350) and other to get start compiling to wasm. But I'm stock with some error. Anyone tried to compile to wasm recently? First error is that the compiler is complaining that I don't have