- Hands-On Game Development with WebAssembly
- Rick Battagline
- 132字
- 2021-06-24 13:41:01
Installing Emscripten on Ubuntu
If you are installing on Ubuntu, you should be able to use the apt-get package manager and git for the complete install. Let's move forward:
- Python is required, so if you do not have Python installed, be sure to run the following:
sudo apt-get install python
- If you do not already have Git installed, run the following:
sudo apt-get install git
- Now you will need to clone the Git repository for emsdk:
git clone https://github.com/emscripten-core/emsdk.git
- Change your directory to move into the emsdk directory:
cd emsdk
- From here, you need to install the latest version of the SDK tools, activate it, and set your environment variables:
./emsdk install latest ./emsdk activate latest source ./emsdk_env.sh
- To make sure everything was installed correctly, run the following command:
emcc --version
推薦閱讀
- Aftershot Pro:Non-destructive photo editing and management
- Cortex-M3 + μC/OS-II嵌入式系統開發入門與應用
- 深入理解Spring Cloud與實戰
- 龍芯應用開發標準教程
- 基于Proteus和Keil的C51程序設計項目教程(第2版):理論、仿真、實踐相融合
- 極簡Spring Cloud實戰
- 電腦常見故障現場處理
- 3ds Max Speed Modeling for 3D Artists
- 平衡掌控者:游戲數值經濟設計
- Spring Cloud微服務架構實戰
- 電腦高級維修及故障排除實戰
- Intel Edison智能硬件開發指南:基于Yocto Project
- 超大流量分布式系統架構解決方案:人人都是架構師2.0
- 數字媒體專業英語(第2版)
- 筆記本電腦芯片級維修從入門到精通(圖解版)