GSoC 2011 weekly report #9
This week I managed to cross compile qgis and started working on packaging it. See the previous post for more details.
This week I managed to cross compile qgis and started working on packaging it. See the previous post for more details.
Finally I managed to cross compile qgis using a NDK r5c standalone toolchain. Currently the scripts to produce the binaries require the necessitas qt source to be present on the host since QtUiTools need to be compiled as well. This should be only until QtUitools is included in necessitas (maybe in the next release). For the moment only the basic library (gdal, geos, qwt, expat, gsl, sqlite and proj) are ported but they allow already Read more…
This week I fought against libiconv and spatialite that did not want to properly crosscompile. Due to time pressure I decided to temporarly work on it and moved on compiling qgis. I get to the linking part of the process where I get many errors. I m now looking into them. Furthermore I refactored the scripts to be more solid and I did a major wiki update (added errors, added how to, cleanup,…). I m Read more…
This week I was at a mountaineering course so I could only work in the evening/nights. despite of the lack of time I made some nice progresses, I got qgis to configure properly (for some reasons it still needs to run twice) and to start compile. while compiling I run into the problem that qreal are typedef to float when compiling from arm, so I patched qglobal.h to remove the float typedef and set it Read more…
This week I started cross compiling qgis and encountered some problems that I could’t solve yet but I’m working on it. UPDATE: I just managed to have QGIS to properly configure, by using -DQT_QTUITOOLS_INCLUDE_DIR=/usr/include/qt4/QtUiTools since it appears that necessitas has no QtUiTools yet. I’ll look into it. UPPDATE2:or maybe not… got more errors now 🙁 As well I met with my mentor and we discussed the next steps needted after qgis compiles. We decided which Read more…
Last night Pirmin committed our Globe plugin to the QGIS trunk. this means that getting the needed dependencies (see below), building QGIS with -DWITH_GLOBE=ON and activating the plugin its all it takes to get a super globe running on QGIS. Dependencies: sudo apt-get install osgearth osgearth-dev openscenegraph (should be enough) WARNING: it appears if you don’t install osgearth-dev, then the plugin will compile fine but will not be available for activation in the plugin list. Read more…
This week I re-factored the install script to make it cleverer, compiled expat library, fixed the last problem that was blocking GDAL from installing and compiled QWT library using necessitas. As well I started and started looking on compiling qgis and how to add external libs to a necessitas package. This week I’ll be mainly looking into how to compile QGIS to have it running on Android.
This week i finally got PROJ, GEOS and GDAL to compile and install. I updated all the instller scripts to use the NDK stand alone toolchain, using Android.mk files turned out to be more a hassle than useful. Furthermore using the standalone NDK toolchain the compire process can be totally scripted and thus integrated in bigger build systems. I started working on QWT as well and I plan to finish it next week. next week Read more…
This week, I worked on trying to get Android.mk files working, it looks like using the Android Toolchain standalone (I found in the docs how to use it cleanly) was more fruity, I started working on cross compiling GDAL and it looks not too bad. Using makefiles got me to more compile mistakes than anything else. Next week I’ll discuss with Marco what we should do (use android.mk or not). The plan for next week Read more…
This week I managed to crosscompile PROJ 4.7.0 and created installer scripts for it and for GEOS, which gets to the linking step. but then stops due to the absence of STL in android. diggig into the problem I discovered (I’m almost ashamed) that the NDK docs explains how to deal with that problem (big RTFD to myself). So now I’m carefully reading the NDK docs and started experimenting with ndk_build script. Next week I Read more…