Jonas

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
...
-Fu/Developer/FreePascalCompiler/iPhoneSnapshot-2.3.1-r12531/Source/packages/opengles/*

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.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to