12 | | === !BlackBerry 10 Native SDK === #ndk |
13 | | |
14 | | You'll need [https://developer.blackberry.com/native/ BlackBerry 10 Native SDK] for native development. After you download and install the SDK, set the environment variables: |
| 12 | - You will need [https://developer.blackberry.com/native/ BlackBerry 10 Native SDK] for native development. |
| 13 | - For Windows host, you will need [http://www.mingw.org/wiki/MSYS MSys/MinGW] to build PJSIP. |
| 14 | |
| 15 | |
| 16 | [[BR]] |
| 17 | |
| 18 | == Configure and Build PJSIP == |
| 19 | |
| 20 | This tutorial applies to Linux, MacOSX, and Windows/MSys host. |
| 21 | |
| 22 | === Get PJSIP Source Code === |
| 23 | |
| 24 | [wiki:Getting-Started/Download-Source Get the source code], if you haven't already. This tutorial applies to PJSIP version 2.2 and above (or the 2.1 from SVN trunk dated 2013/04/16 or later). |
| 25 | |
| 26 | [[BR]] |
| 27 | === Configure PJSIP === |
| 28 | |
| 29 | Note for Windows host, the configure and build process are to be done on MSys/MinGW console. |
| 30 | |
| 31 | 1. Run this in your BB10 NDK directory, otherwise the {{{configure}}} command will fail: |
18 | | |
19 | | |
20 | | |
21 | | [[BR]] |
22 | | |
23 | | == (For Linux and Mac OS X Hosts:) Configure and Build PJSIP == |
24 | | |
25 | | === Get PJSIP Source Code === |
26 | | |
27 | | [wiki:Getting-Started/Download-Source Get the source code], if you haven't already. This tutorial applies to PJSIP version 2.2 and above (or the 2.1 from SVN trunk dated 2013/04/16 or later). |
28 | | |
29 | | [[BR]] |
30 | | === Configure PJSIP === |
31 | | |
32 | | 1. Run this in your BB10 NDK directory, otherwise the {{{configure}}} command will fail: |
33 | | {{{ |
34 | | $ source $BBNDK_DIR/bbndk-env.sh |
| 35 | For Windows host, put back MSys/MinGW binary path to the beginning of environment variable {{{PATH}}} setting, otherwise MSys/MinGW standard tools will be overridden by BB10 NDK and the {{{configure}}} command will fail: |
| 36 | {{{ |
| 37 | $ export PATH="/usr/local/bin:/mingw/bin:/bin:$PATH" |