Closed Matt-DESTROYER closed 6 months ago
Possibly this is a windows issue of some kind, but the first thing I would try is manually delete that cache/
directory entirely. Emscripten will recreate it and perhaps that will fix the issue for you.
Thanks, that seemed to work!
Trying to build a simple C++ file as part of a mini experiment/project. I might be doing something completely wrong, I'm not sure, but essentially when I try to compile the below C++ file with the below command, it just hangs everytime (I keep waiting around ten minutes and getting nothing, I assume it probably shouldn't take that long regardless).
Compute.cpp
(I was previously using the
cmath
header, but even without this it still fails.)CMD
Eventually, on one attempt I got this warning:
A quick look in the folder
C:\Program Files\emsdk\upstream\emscripten\cache\
shows there is no such file ascache.lock
...It did seem to work previously and my C++ file would compile (although at the time I hadn't figured out how to configure it properly so it basically output an essentially empty WASM file), but I have not been able to get this working since. I even tried completely deleting and reinstalling
emsdk
and that didn't seem to work.Note: This is on x64 Windows 11.