Trac is being migrated to new services! Issues can be found in our new YouTrack instance and WIKI pages can be found on our website.

Changes between Version 4 and Version 5 of GSoC2012/Android/compiling


Ignore:
Timestamp:
Jun 16, 2012, 7:23:47 AM (12 years ago)
Author:
michaelz
Comment:

Build updates to avoid mistakes

Legend:

Unmodified
Added
Removed
Modified
  • GSoC2012/Android/compiling

    v4 v5  
    2121Start it: [[BR]]
    2222The executeable is in the Eclipse directory you just downloaded.
    23 It will prompt you for a workspace. You can android/workspace subdirectory in the Android branch, or any other directory you like. The worksapce appears to be empty because eclipse does not know that there are already projects in it.
    24 There may be errors in the projects, because you first need to install the Android plugin.
     23It will prompt you for a workspace. You can choose android/workspace subdirectory in the Android branch, or any other directory you like. The worksapce appears to be empty because eclipse does not know that there are already projects in it.
    2524
    2625Install C: [[BR]]
     
    3534Add the projects: [[BR]]
    3635To tell eclipse that the projects exist, add them to eclipse: File → Import... → Existing projects into Workspace. Selest the android/workspace directory and all projects eclipse automatically finds.
     36There may be errors in the projects, because you first need to install the Android plugin.
    3737
    3838
     
    7575 }}}
    7676
    77 Enter the install directory in eclipse in Preferences → String Substitution as ndk.root and add a new substitution "ndk.host" with the value arm-linux-androideabi
     77Enter the root directory of that toolchain (not the sysroot directory) in eclipse in Preferences → String Substitution as ndk.root and add a new substitution "ndk.host" with the value arm-linux-androideabi
    7878
    7979Currently, only arm is supported.
     
    9696Headers/Files generated by build scripts are not marked as derived.
    9797 This is not possible in eclipse. See Eclipse bug [https://bugs.eclipse.org/bugs/show_bug.cgi?id=150578 150578] and [https://bugs.eclipse.org/bugs/show_bug.cgi?id=30440 30440]
     98
     99Build failed with "bad substitution" / Build uses normal gcc instead of the android one.
     100 Be sure to have ndk.root and ndk.host set.
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!