This is the C++ version of the Peeracle library, with Objective-C and Java bindings for iOS and Android applications.
- Python 2.7.6
- Shell prompt, such as msys, Msysgit or Cygwin
- Microsoft Visual Studio 2013 - download Community Edition
- Microsoft DirectX SDK - download
- XCode
First, clone the repository
$ git clone https://github.com/peeracle/libpeeracle.git
Init the submodules
$ git submodule init
$ git submodule update
Windows users MUST build the symbolic links inside the WebRTC repository
python third_party\webrtc\setup_links.py
Add depot_tools to your PATH environment variable
- Linux, Mac OS X
$ export PATH=$PATH:`pwd`/third_party/depot_tools
- Windows
> set PATH=%PATH%;%cd%\third_party\depot_tools
Generate the build scripts everytime you edit a GYP file, these commands MUST be run from the Windows Command Prompt if you are using Windows.
python gyp_peeracle.py
Then build
ninja -C out/Release