Time |
Nickname |
Message |
00:17
🔗
|
|
GLaDOS has quit IRC (Write error: Broken pipe) |
00:17
🔗
|
|
GLaDOS has joined #jsmess |
07:42
🔗
|
bai |
welp, guess I'm stuck at the same place DFJustin hit when he tried, seems like maybe SSE doesn't work with webassembly output yet? |
07:43
🔗
|
bai |
found this while searching for the error, heh https://gist.github.com/DopefishJustin/3c6334d1d7297f080349358e40c6237c |
07:46
🔗
|
DFJustin |
no it's trying to compile something that's supposed to be native code using emcc instead of cc |
07:49
🔗
|
DFJustin |
binaryen has some tools like asm2wasm which are supposed to be built as native binaries to translate the asm.js output into wasm |
07:49
🔗
|
DFJustin |
but because the binaryen make gets kicked off as part of an emmake it loses track of which compiler it's supposed to be invoking |
07:50
🔗
|
DFJustin |
I don't know if it's an emmake / emscripten ports issue or if the mame build system is doing something naughty |
07:52
🔗
|
DFJustin |
if you manually go into that folder and make you can get a working binaryen |
07:53
🔗
|
DFJustin |
the part I've actually gotten stuck on is trying to get the .wasm to load and run inside our loader environment |
07:54
🔗
|
bai |
I see |
07:55
🔗
|
bai |
I'll give that a try, once I get a .wasm building I can probably figure out what needs to happen on the loader side of things |
08:00
🔗
|
bai |
hmm, when I try to build directly from the ports dir I get the same error |
08:00
🔗
|
bai |
:~/.emscripten_ports/binaryen/binaryen-version_17$ emmake make |
08:00
🔗
|
bai |
or do I need to reconfigure? |
08:28
🔗
|
DFJustin |
no you need to make without emmake |
08:30
🔗
|
bai |
yeah I tried that as well, but it seems to all be configured with the em++ paths and such. but I'm falling asleep in my chair right now so it could just be my dumb brain shutting off and I'm missing something |
08:30
🔗
|
bai |
i'll try again tomorrow |
08:31
🔗
|
DFJustin |
it's cmake so you have to redo that I think |
08:31
🔗
|
bai |
yeah, did that too |
08:33
🔗
|
DFJustin |
looks like I had to edit CMakeLists.txt |
08:34
🔗
|
DFJustin |
I had to comment out ADD_COMPILE_FLAG("-Werror") |
08:35
🔗
|
DFJustin |
and |
08:35
🔗
|
DFJustin |
rm -rf CMakeFiles |
08:35
🔗
|
DFJustin |
rm Makefile |
08:35
🔗
|
DFJustin |
rm CMakeCache.txt |
08:35
🔗
|
DFJustin |
hooray for bash history |
08:36
🔗
|
DFJustin |
hopefully azakai will just fix it though |
08:39
🔗
|
bai |
ah ok. I'll try those tomorrow |
08:41
🔗
|
DFJustin |
nn |
21:14
🔗
|
SketchCow |
Hurrah |
21:14
🔗
|
|
SketchCow sets mode: +oooo arkiver balrog db48x DFJustin |
21:14
🔗
|
|
SketchCow sets mode: +oooo GLaDOS godane jvilk Lord_Nigh |
21:14
🔗
|
|
SketchCow sets mode: +o yipdw |