[Pidgin] GSoC2012/Android/compiling modified
Pidgin
trac at pidgin.im
Sat Jun 16 03:23:50 EDT 2012
Changed page "GSoC2012/Android/compiling" by michaelz from 88.66.57.212*
Page URL: <http://developer.pidgin.im/wiki/GSoC2012/Android/compiling>
Diff URL: <http://developer.pidgin.im/wiki/GSoC2012/Android/compiling?action=diff&version=5>
Revision 5
Comment: Build updates to avoid mistakes
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: GSoC2012/Android/compiling
=========================================================================
--- GSoC2012/Android/compiling (version: 4)
+++ GSoC2012/Android/compiling (version: 5)
@@ -20,8 +20,7 @@
Start it: [[BR]]
The executeable is in the Eclipse directory you just downloaded.
-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.
-There may be errors in the projects, because you first need to install the Android plugin.
+It 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.
Install C: [[BR]]
Go to Help → Install new Software. Select the update site for your Eclipse version. Then install "Programming languages" → "C/C++ Development tools"
@@ -34,6 +33,7 @@
Add the projects: [[BR]]
To 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.
+There may be errors in the projects, because you first need to install the Android plugin.
== Android Tools ==
@@ -74,7 +74,7 @@
build/tools/make-standalone-toolchain.sh --platform=android-9 --install-dir=<some-new-dir>
}}}
-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
+Enter 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
Currently, only arm is supported.
@@ -95,3 +95,6 @@
Headers/Files generated by build scripts are not marked as derived.
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]
+
+Build failed with "bad substitution" / Build uses normal gcc instead of the android one.
+ Be sure to have ndk.root and ndk.host set.
-------8<------8<------8<------8<------8<------8<------8<------8<--------
* The IP shown here might not mean anything if the user or the server is
behind a proxy.
--
Pidgin <http://pidgin.im>
Pidgin
This is an automated message. Someone at http://pidgin.im added your email
address to be notified of changes on GSoC2012/Android/compiling. If it was not you, please
report to .
More information about the Wikiedit
mailing list