nepx / halfix

x86 PC emulator that runs both natively and in the browser, via WebAssembly
https://nepx.github.io/halfix-demo/
GNU General Public License v3.0
669 stars 86 forks source link

how do i port this app to uwp Universal Windows #32

Open PurpleVoidEpic opened 1 year ago

PurpleVoidEpic commented 1 year ago

hi id like to use this on my xbox one but i can't compile it for uwp

nepx commented 1 year ago

What errors are you getting? I'm not familiar with UWP, sorry.

PurpleVoidEpic commented 1 year ago

I'm getting this error when trying to use it in node js node:events:491 throw er; // Unhandled 'error' event ^

Error: spawn emcc ENOENT at ChildProcess._handle.onexit (node:internal/child_process:283:19) at onErrorNT (node:internal/child_process:476:16) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) Emitted 'error' event on ChildProcess instance at: at ChildProcess._handle.onexit (node:internal/child_process:289:12) at onErrorNT (node:internal/child_process:476:16) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { errno: -4058, code: 'ENOENT', syscall: 'spawn emcc', path: 'emcc', spawnargs: [ '-Wall', '-Wextra', '-Werror', '-g3', '-std=gnu99', '-DEMSCRIPTEN_BUILD', '-O0', 'src/pc.c', '-c', '-o', 'build/objs/94-pc-1b21v.o', '-Iinclude' ] }

Node.js v18.12.1

nepx commented 1 year ago

You need to add Emscripten (emcc) to your shell's PATH variable.