Skip to content
Alexis Tyler edited this page Jan 25, 2019 · 3 revisions

Pomdog need a Generate Your Projects (GYP) to build library and apps.

Requirements

  • Git
  • Python 2.7+ (GYP does not support Python 3, at the moment)

(Prerequisites) Installing setuptools

wget https://bootstrap.pypa.io/ez_setup.py -O - | python - --user

For details, please see https://pypi.python.org/pypi/setuptools#unix-wget.

Installing GYP

First, install GYP from https://chromium.googlesource.com/external/gyp/.
From the root of your engine directory, run:

cd pomdog
git clone https://chromium.googlesource.com/external/gyp.git tools/gyp

Second, run setup.py.

To install globally with gyp (Linux/Mac):

cd tools/gyp
[sudo] python setup.py install

On Windows systems you can do:

cd tools/gyp
python setup.py install

Finally, check if gyp is installed.

Linux and Mac:

which gyp