Skip to content

marcusbelcher/Emscripten-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Emscripten-examples

Examples using Emscripten. The purpose of this repo is to show how to convert simple CPP code to a format which can be executed within a web browser.

Technologies used

  • CPP
  • Emscripten
  • Python 2.7.*
  • HTML + CSS + JavaScript

Useful links

Setup

Build

  • cd emscripten
  • source ./emsdk_env.sh
  • cd ..
  • python build_all.py
  • cd examples
  • http-server
  • Open up a webpage and view http://localhost:8080 or http://127.0.0.1:8080 to view the examples directory
  • Make sure you only build within the same terminal you set the source otherwise emscripten will error

Donate

If you found this useful, and/or this has saved you time/money, please donate to one of the following charities:

Releases

No releases published

Packages

No packages published

Languages