em-dosbox icon indicating copy to clipboard operation
em-dosbox copied to clipboard

Recipe for target 'dosbox.html' failed

Open xubiod opened this issue 7 years ago • 2 comments

I got Emscripten using emsdk.

I have confirmed that Emscripten works fine via a test that Emscripten has.

The exact error looks likes this: ERROR:root:'/home/user/emsdk/emsdk/clang/e1.38.12_64bit/binaryen/bin/asm2wasm dosbox.temp.asm.js --total-memory=134217728 --trap-mode=allow -03 --mem-init=dosbox.html.mem --mem-base=1024 -o dosbox.wasm' failed

It is able to output dosbox.js but after the error message appears the file is deleted.

The directory contains dosbox.html.mem, and dosbox.js.orig.js as well.

Edit: I'm using the latest LTS version of Ubuntu (64bit).

xubiod avatar Sep 13 '18 10:09 xubiod

Did you try https://github.com/WebAssembly/binaryen/pull/1681? It fixed a bug that prevents my port of DOSBox-X (a fork of DOSBox) to build.

yksoft1 avatar Sep 15 '18 09:09 yksoft1

@yksoft1 I did get it to work somewhat, it compiles without SDL2, however, packing games results in an error. I can't get the message at the moment.

xubiod avatar Sep 17 '18 12:09 xubiod