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:
- Download the Samsung Emscripten SDK suitable to your operating system (Linux, Windows® and macOS are supported).
- Uncompress the SDK by unzipping the downloaded zip file.
- Activate the SDK:
- In a command prompt, enter the
emscripten-release-bundle/emsdk
directory. - Execute the command:
- Linux and macOS:
./emsdk activate latest-fastcomp
- Windows OS:
emsdk activate latest-fastcomp
- Linux and macOS:
- In a command prompt, enter the
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.