Open ttqftech opened 8 months ago
I'm not sure I can figure out this clang error, but maybe as a workaround you can download the pre-compiled pitchlite.js and pitchlite.wasm files: https://github.com/sevagh/pitchlite/tree/main/web
✅I've founded the following solution:
Removing -march=native -mfma
in CMAKE_CXX_FLAGS_RELEASE line.
I guess wasm32-unknown-emscripten
is Emscripten's default unconfigurable target, and there is not something native
in unknown
architecture?
Glad to hear it! If you want to submit a fix, go ahead and I'll merge it.
I've follow the instructions in README to compile myself. But when I execute
cmake
in the last step, error occurs. It happens both on two environments:I'm a js developer and don't know much things about C/C++. Hope to solve this problem so that I can continue my little discovery :-)