| 348 | | ''Note: There is currently ''[http://public.kitware.com/Bug/view.php?id=11333 a bug]'' in CMake that is causing the NVTT build to fail. Waiting for release of a fix.'' |
| 349 | | |
| 350 | | ENet. |
| | 348 | ''Note: There is currently ''[http://public.kitware.com/Bug/view.php?id=11333 a bug]'' in CMake that is causing the NVTT build to fail. Waiting for release of a fix.'' |
| | 349 | |
| | 350 | Download the latest version of ENet 1.3 from [http://enet.bespin.org/download/ this page] to the working directory and then unpack it there, e.g.: |
| | 351 | |
| | 352 | {{{ |
| | 353 | $ cd ~/android |
| | 354 | $ tar -xvf enet-1.3.3.tar.gz |
| | 355 | }}} |
| | 356 | Now change directory to the directory that was unpacked, e.g.: |
| | 357 | |
| | 358 | {{{ |
| | 359 | $ cd ~/android/enet-1.3.3 |
| | 360 | }}} |
| | 361 | Then execute the following commands to compile the package for the target device: |
| | 362 | |
| | 363 | {{{ |
| | 364 | $ ./configure --host=$HOSTCONF --build=$BUILDCONF --prefix=$SYSROOT/usr |
| | 365 | $ make |
| | 366 | $ make install |
| | 367 | }}} |
| | 368 | |