Installing the Required Dependencies

Now that you have your development environment set up and you're ready to start writing C, C++, and JavaScript, it's time to add the final piece of the puzzle. In order to generate .wasm files from our C/C++ code, we need to install and configure the Emscripten SDK (EMSDK).

In this chapter, we'll discuss the development workflow and talk about how the EMSDK fits into the development process. Detailed instructions will be provided on how to install and configure the EMSDK on each platform, as well as any prerequisites. Once the installation and configuration process is complete, you'll test it out by writing and compiling some C code.

Our goal for this chapter is to understand the following:

  • The overall development workflow when working with WebAssembly
  • How the EMSDK relates to Emscripten and WebAssembly and why it's needed
  • How to install the prerequisites for the EMSDK
  • How to install and configure the EMSDK
  • How to test the EMSDK to ensure it's working correctly
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset