File: README.TXT

package info (click to toggle)
aseba 1.6.0-5
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 18,300 kB
  • sloc: cpp: 44,647; ansic: 5,686; python: 1,455; java: 1,136; sh: 393; xml: 202; makefile: 10
file content (87 lines) | stat: -rw-r--r-- 3,542 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
                Android build system for ASEBA

Requirements (using Necessitas bundled SDK and NDK):

  Download the Necessitas Qt Source Development Kit installer from
  http://community.kde.org/Necessitas . Run the installer to deploy
  Necessitas in a location of choice, e.g., /opt/necessitas.
  Choose to install at least API level 12.

  Install ubash. On Ubuntu, use the ASL launchpad repository ppa:kralf/asl:
  > (sudo) add-apt-repository ppa:kralf/asl
  > (sudo) apt-get update
  > (sudo) apt-get install ubash
  On other platform, use the source from:
  https://launchpad.net/~kralf/+archive/asl/+files/ubash_0.1-56%7Elucid.tar.gz
  
  Install the ant build system, on Ubuntu:
  > (sudo) apt-get install ant
  
Requirements (using separated SDK and NDK)

  In addition to the previous step, install these:

  Download the official Android Native Development Kit (NDK) from
  http://developer.android.com/tools/sdk/ndk . Untar the archive in
  a location of choice, e.g., /opt/android/ndk.

  Download the official Android Source Development Kit (SDK) from
  http://developer.android.com/sdk . Untar the archive in
  a location of choice, e.g., /opt/android/sdk.

Build instructions:

  Assuming the DaSHEL and ASEBA source trees to be located under the
  same root directory such as /path/to/dashel and /path/to/aseba,
  make.sh should do the job just fine. Simply launch the script as
  follows:

  > ./make.sh --ndk-root /path/to/android/ndk
      --sdk-root /path/to/android/sdk
      --necessitas-root /path/to/necessitas
      [--debug] [--install]

  Make sure to provide the correct paths under which the above build
  requirements can be found in your system. To perform a debug build,
  use the --debug option. To install the resulting application
  package to an Android device connected via USB, pass --install. For
  additional help concerning the command line parameters, issue

  > ./make.sh --help

  Note that all builds are performed out-of-source and that the
  generated binaries can be found under the specified build root,
  i.e., a directory named build unless overridden by the command
  line parameters.

  The convenience build script make.sh first runs mkdashel.sh to
  cross-compile DaSHEL for Android. Next, mkaseba.sh is invoked to
  generate the native library libthymiovpl.so from the ASEBA build
  configuration. Both these steps require the cross-compile toolchain
  defined in cmake/Android.cmake and run CMake to configure the build.
  On success, you will find libdashel.so and libthymiovpl.so below
  /path/to/build/root/thymiovpl/libs. The Android application
  package is then compiled by calling mkthymiovpl.sh which simply
  launches ant in the thymiovpl source directory.

Debug instructions:

  To prepare the application for debugging, make sure to append the
  --debug flag for all build scripts. If you wish to debug Java-based
  API code, use the command

  > /path/to/android/sdk/platform-tools/adb logcat

  whilst the Android device is connected via USB, and launch the
  application installed on the device. In case of a Java exception,
  the log will contain the usual backtrace output.

  If you wish to debug native code, issue the helper script

  > ./debug.sh --ndk-root /path/to/android/ndk
      --sdk-root /path/to/android/sdk
      --necessitas-root /path/to/necessitas

  Just as for the build scripts, make sure to provide the correct paths
  under which the build requirements can be found in your system.
  Otherwise, gdb may fail to resolve and display the symbols.