官术网_书友最值得收藏!

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:

  1. Python is required, so if you do not have Python installed, be sure to run the following:
sudo apt-get install python
  1. If you do not already have Git installed, run the following:
sudo apt-get install git
  1. Now you will need to clone the Git repository for emsdk:
git clone https://github.com/emscripten-core/emsdk.git
  1. Change your directory to move into the emsdk directory:
cd emsdk
  1. 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
  1. To make sure everything was installed correctly, run the following command:
emcc --version
主站蜘蛛池模板: 淅川县| 唐海县| 皋兰县| 晋江市| 盈江县| 科技| 蒙阴县| 博罗县| 盐边县| 金昌市| 两当县| 介休市| 宁城县| 定远县| 鄂托克旗| 岑溪市| 古蔺县| 百色市| 新蔡县| 舒城县| 浦北县| 南靖县| 临湘市| 宁海县| 繁峙县| 博湖县| 马尔康县| 芒康县| 如皋市| 黄大仙区| 揭阳市| 和顺县| 丰顺县| 阜新市| 囊谦县| 舟曲县| 崇明县| 谢通门县| 普陀区| 灌阳县| 岗巴县|