How to use hxcpp 's emscripten-toolchain.xml?

hi ,I want to build a wasm use hxcpp .

but I don’t know how to link emscripten sdk and inlude *.h

is there any example ? thanks .

here is an example

but they have any details how to build . with emscripten-toolchain.xml

I found this

and follow the tutorial,we can compile and run

but got some error on console…

any help?

Can you paste the whole error, it’s cut on the image.

Did you open the html file directly? If so you might want to try through a local web server.

may be this is nginx mime.types error.

re add to nginx and reload nginx

application/wasm wasm;