Setting Up Samsung Emscripten SDK and Tizen Studio

This section describes how to download, install, and set up the components that are required to create WebAssembly applications in Tizen Studio.

Installing Samsung Emscripten SDK

To build C/C++ source code of WebAssembly modules so that they can be run on a Samsung device, you need to install the Samsung Emscripten SDK.

To download and install Samsung Emscripten SDK:

  1. Download the Samsung Emscripten SDK suitable to your operating system (Linux, Windows® and macOS are supported).
  2. Uncompress the SDK by unzipping the downloaded zip file.
  3. Activate the SDK:
    1. In a command prompt, enter theemscripten-release-bundle/emsdk directory.
    2. Execute the command:
      • Linux and macOS: ./emsdk activate latest-fastcomp
      • Windows OS: emsdk activate latest-fastcomp

After successful activation, a configuration file is created and typically located in the current user's home directory:

  • Linux: /home/<user>/.emscripten
  • macOS: /Users/<user>/.emscripten
  • Windows: C:\Users\<user>.emscripten

This file is required by Tizen Studio for building WebAssembly modules.

Installing Tizen Studio

Download and install the Tizen Studio by following these guidelines.
Once the Samsung Emscripten SDK and Tizen studio have been installed, configure the development environment using the instructions in Configuring Samsung Emscripten SDK for Tizen Studio.