- Hands-On Game Development with WebAssembly
- Rick Battagline
- 352字
- 2021-06-24 13:41:01
Installing Emscripten on Windows
I am going to keep this section brief because these instructions are subject to change. You can supplement these instructions with the official Emscripten download and install instructions found on the Emscripten website: https://emscripten.org/docs/getting_started/downloads.html.
We will need to download and build Emscripten from the emsdk source files on GitHub. First, we will walk through what to do on Windows.
Python 2.7.12 or higher is a prerequisite. If you do not have a version of Python higher than 2.7.12 installed, you will need to get the windows installer from python.org and install that first: https://www.python.org/downloads/windows/.
If you have Git installed already, cloning the repository is relatively simple:
- Run the following command to clone the repository:
git clone https://github.com/emscripten-core/emsdk.git
- Wherever you run this command, it will create an emsdk directory. Enter that directory using the following:
cd emsdk
You may not have Git installed, in which case, the following steps will bring you up to speed:
- Go to the following URL in a web browser: https://github.com/emscripten-core/emsdk.
- You will see a green button on the right-hand side that says Clone or download. Download the ZIP file:

- Unzip the downloaded file to the c:\emsdk directory.
- Open up a Windows Command Prompt by typing cmd into the start menu and pressing Enter.
- From there, you can change to the c:\emsdk\emsdk-master directory by typing the following:
cd \emsdk\emsdk-master
At this point, it does not matter whether you had Git installed or not. Let's move forward:
- Install emsdk from the source code running the following command:
emsdk install latest
- Then activate the latest emsdk:
emsdk activate latest
- Finally, set up our path and environment variables:
emsdk_env.bat
- ATmega16單片機項目驅動教程
- 圖解西門子S7-200系列PLC入門
- Learning Cocos2d-x Game Development
- Linux KVM虛擬化架構實戰(zhàn)指南
- 數字道路技術架構與建設指南
- BeagleBone By Example
- 數字邏輯(第3版)
- AMD FPGA設計優(yōu)化寶典:面向Vivado/SystemVerilog
- 電腦維護365問
- Rapid BeagleBoard Prototyping with MATLAB and Simulink
- OpenGL Game Development By Example
- Intel Edison智能硬件開發(fā)指南:基于Yocto Project
- 單片機技術及應用
- FL Studio Cookbook
- FPGA實驗實訓教程