after trying all day, finally i can compile the example on windows using fpc 2.7.1 from svn. working both on emulator and device. not trying anything else yet.
which svn revision? my 2.7.1 about two weeks ago can't generate runnable app, the example crashes even before something is shown.