| 1 | = Getting Started: Building for !BlackBerry 10 (BB10) = |
| 2 | [[TracNav(Getting-Started/TOC)]] |
| 3 | [[PageOutline(2-3,,inline)]] |
| 4 | |
| 5 | |
| 6 | !BlackBerry 10 (BB10) target is available in the Subversion trunk and currently still experimental. |
| 7 | |
| 8 | == Requirements == |
| 9 | |
| 10 | You'll need !BlackBerry 10 Native SDK. After you download the SDK, set the environment variables by running {{{bbndk-env}}} script provided in the SDK: |
| 11 | {{{ |
| 12 | $ source bbndk_dir/bbndk-env.sh |
| 13 | }}} |
| 14 | |
| 15 | == Building PJSIP == |
| 16 | |
| 17 | [wiki:Getting-Started/Download-Source Get the source code], if you haven't already. |
| 18 | |
| 19 | Just run: |
| 20 | {{{ |
| 21 | $ cd /path/to/your/pjsip/dir |
| 22 | $ ./configure-bb10 |
| 23 | $ make dep && make clean && make |
| 24 | }}} |
| 25 | |
| 26 | Notes: |
| 27 | * the {{{./configure-bb10}}} is a wrapper that calls the standard {{{./configure}}} script with settings suitable for BB10 target. |
| 28 | * you may pass standard {{{./configure}}} options to this script too. |
| 29 | * for more info, run {{{./configure-bb10 --help}}} |
| 30 | * other customizations are similar to what is explained in [wiki:Getting-Started/Autoconf Building with GNU] page. |
| 31 | |
| 32 | == Simulator == |
| 33 | |
| 34 | Install and configure the BB10 simulator, you will need to install a virtual machine player in order to use the simulator. To build for BB10 simulator, just run: |
| 35 | {{{ |
| 36 | $ ./configure-bb10 --simulator |
| 37 | $ make dep && make clean && make |
| 38 | }}} |