Skip to content

riverlijunjie/wasm_simple_sample

Repository files navigation

install node

# https://volta.sh/
# install Volta
curl https://get.volta.sh | bash

# install Node
volta install node

# start using Node
node

install emscripten

git clone https://github.com/emscripten-core/emsdk.git
cd emsdk
git pull
./emsdk install latest
./emsdk activate latest
source ./emsdk_env.sh

build

mkdir build
cd build
cmake ..
make
# or build in docker: 
# - docker run -it --rm -v $(pwd):/project emscripten/emsdk
# - emcmake cmake ..
# - emmake make
npm i

run nodejs

npm run nodejs

run nodejs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published