Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
PurpleVoidEpic opened this issue Oct 4, 2022 · 3 comments
Open

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

PurpleVoidEpic opened this issue Oct 4, 2022 · 3 comments

Comments

@PurpleVoidEpic
Copy link

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

@nepx
Copy link
Owner

nepx commented Jan 16, 2023

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

@PurpleVoidEpic
Copy link
Author

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
Copy link
Owner

nepx commented May 11, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants