Git Product home page Git Product logo

kodo-js's Introduction

kodo-js

This project contains emscripten bindings for the Kodo library.

Table of Contents:

If you have any questions about this library, please contact us at our developer mailing list (hosted at Google Groups):

Follow this guide to download and setup the Portable Emscripten SDK: http://kripken.github.io/emscripten-site/docs/getting_started/downloads.html

Note that Emscripten is not compatible with Python 3, always use Python 2.7 when running the SDK commands and the compiler.

Now you should be able to clone and configure kodo-js (if you don't have the python2 command on your system, just write python instead):

git clone [email protected]:steinwurf/kodo-js.git
cd kodo-js
python2 waf configure --cxx_mkspec=cxx_default_emscripten --cxx_nodebug --emscripten_path="path-to-emscripten"

For example, path-to-emscripten can be: ~/emsdk-portable/emscripten/1.37.22

Build and run the unit tests using waf:

python2 waf --run_tests

Node.js is bundled with the Emscripten SDK 1.37 and above, but older versions require a manual installation of the nodejs package.

If you have an older version of Emscripten and you installed the nodejs package on Ubuntu or Debian, then consider that the Node.js binary is called nodejs (not node). If emscripten cannot find this binary, then you need to change the following line in ~/.emscripten (the file is created when you run ./emsdk activate latest):

NODE_JS = 'node'

To this:

NODE_JS = 'nodejs'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.