|
| 1 | +### Installing the NDK installer C :: B template |
| 2 | + |
| 3 | + ---------- |
| 4 | + |
| 5 | + - Download the installer `NDK C :: B template` [CodeBlocksNdkTemplate v.0.0.14.79 / win32 (07/03/2019)] (https://clnviewer.github.io/Code-Blocks-Android-NDK/CodeBlocksNdkTemplate.exe) |
| 6 | + - Run the installer and install the `NDK C :: B template` |
| 7 | + - Edit the file `config.script` and add the template to the list used. |
| 8 | + |
| 9 | + ### Editing the C :: B file with config.script |
| 10 | + |
| 11 | + The file must be in the following path: |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + You must add the following code to the `RegisterWizards ()` function: |
| 16 | + |
| 17 | + |
| 18 | + Before using the template, after making these changes, you must restart `C :: B` |
| 19 | + |
| 20 | + |
| 21 | + ### NDK C::B template Wizard |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | +### Features |
| 39 | + |
| 40 | + > __Bag? __: unfortunately I did not find a direct way to add debugger parameters directly to the `C :: B` project using its API. |
| 41 | + > Currently, the debugger parameters are entered into the `Extensions / debugger1` section, but for operation it is necessary that these parameters be in the` Extensions / debugger` section. |
| 42 | + > After creating the project, use the editor to remove the `Extensions / debugger` section and rename the` Extensions / debugger1` section to `Extensions / debugger`. |
| 43 | + > An example of the contents of this section is given below. |
| 44 | + |
| 45 | + |
| 46 | + > __Attention! __: the `cbp2ndk` and` android-elf-cleaner` utilities used in `NDK C :: B template` are built for the 32bit version of Windows. |
| 47 | + > If you are using a 64bit platform and want to have executable files of the corresponding bitness, you need to rebuild the project yourself. |
| 48 | + > The `cbp2ndk` and` android-elf-cleaner` utilities in `C :: B` are located along the following path: |
| 49 | + |
| 50 | + |
| 51 | + |
0 commit comments