Image via Wikipedia
- Get repo scripts from google
- Get checkout of the trunk
- Copy buildspec.mk to root. It ususally resides in one of the internal folders.
After some time, it compained giving double definition of template swap. This came in one of the stl files. I had to comment to move further.
All was built peacefully, and finally the simulator started building. At this point linker errors related to wxheaders-2.6 appeared. Somehow, the program was unable to link to gtk headers properly.I spent good 1 hour trying to fix it by installing different versions. After pondering upon variouos options, i thought it would be best to drop the simulator and instead compile an arm image for the emulator. I did changes in buildspec.mk by specifying correct target, and fired make again.
This time it complained not finding the definition of swap (the same template that i had commented earlier due to double definition). I uncommented it, and put make again.
After around 45 mins of screen scrolls, it had put system, ramdisk, kernel, and userdata images in proper folders.
I ran following command
ashish@zeus:~ out/host/linux-x86/bin/emulator -system out/target/product/generic/ -kernel prebuilt/android-arm/kernel/kernel-qemu -data out/target/product/generic/userdata.img
This brought up the emulator on screen running the bundled apps. I changed a couple of strings in Contacts application, and build the images again by make. This time it was very fast and after firing up the emulator again, i could see the change s being reflected there.
Next few days would be building some core features and perhaps building some more apis.
.![Reblog this post [with Zemanta]](http://img.zemanta.com/reblog_e.png?x-id=945092c2-31d5-4fe4-bca4-922a05202714)
