[fpc-devel] First version of FPC for iPhone SDK 2.x available

dmitry boyarintsev skalogryz.lists at gmail.com
Sat Jan 10 11:21:11 CET 2009


1) While building the template, i've met only one problem: 'gles11'
unit used by fpclogo.pas could not be found. I've added a path to
"opengles" package checked to /etc/fpc.cfg and project compiled and
run with no problems. Really nice!
tested for Simulator 2.0

#/etc/fpc.cfg sample. I've iPhone SDK installed to /Developer

I wonder if obj-c 2.0 run-time is available at iPhone/iPod devices, so
it's possible to compile with out ObjC code at all. And of cause using
Lazarus instead of XCode can save a LOT of time :)

2) Also a note. While switching between Simulator target versions
(i.e. 2.0 -> 2.1), the project refuses to build:
Building target "iPhoneFPC" of project "iPhoneFPC" with configuration
"Release" — (1 error)
	    cd /Users/igorkokarev/gdb-768/src/gdb/macosx/iPhoneFPC
    /bin/sh -c
/bin/sh: -c: option requires an argument
		/bin/sh: -c: option requires an argument
		/bin/sh: -c: option requires an argument
Build failed (1 error)

The problem is solved by Cleaning the project before rebuilding it.

More information about the fpc-devel mailing list