Forum > PDAs and Smartphones

Error compiling LCL for WinCE

<< < (2/3) > >>

Marc:
This block is only for non windows, so no need to fix that.
The only question is, how comes that there are 2 different THandle definitions ? Where are they defined.

Legolas:
I'm resuming this old post for an error I get compiling the lcl for wince. I use this

--- Code: ---
make lcl LCL_PLATFORM=wince PP=ppcrossarm.exe CPU_TARGET=arm OS_TARGET=wince

--- End code ---

in order to get a cross lcl, but  I get this error:


--- Code: ---
make -C interfaces all
make[2]: Entering directory `/d/Apps/Lazarus/lcl/interfaces'
make -C wince all
make[3]: Entering directory `/d/Apps/Lazarus/lcl/interfaces/wince'
/usr/bin/rm.exe -f ../../units/arm-wince/wince/interfaces.ppu \
        ../../units/arm-wince/wince/interfaces.o
/d/freepascal/bin/i386-Win32/gmkdir.exe -p ../../units/arm-wince/wince
ppcrossarm.exe -Twince -Parm -XParm-wince- -Xc -Xr -gl -Fu../../units/arm-wince
-Fu. -FE. -FU../../units/arm-wince/wince -darm  interfaces.pp
PPU Loading d:\Apps\Lazarus\lcl\units\arm-wince\Graphics.ppu
PPU Loading d:\Apps\Lazarus\lcl\units\arm-wince\Graphics.ppu
Recompiling Graphics, checksum changed for IntfGraphics
PPU Loading d:\Apps\Lazarus\lcl\units\arm-wince\Graphics.ppu
Fatal: Can't find unit Graphics
Fatal: Compilation aborted
make[3]: *** [interfaces.ppu] Error 1
make[3]: Leaving directory `/d/Apps/Lazarus/lcl/interfaces/wince'
make[2]: *** [wince_all] Error 2
make[2]: Leaving directory `/d/Apps/Lazarus/lcl/interfaces'
make[1]: *** [interfaces] Error 2
make[1]: Leaving directory `/d/Apps/Lazarus/lcl'
make: *** [lcl] Error 2

--- End code ---


The strange thing is that the file Graphics.ppu is exactly where the makefile expects to be.

Marc:
I guess you are using svn fpc ? Then this is a known issue

felipemdc:
Just use one of the tested unstable revisions:

http://www.freepascal.org/wiki/index.php/Tested_Unstable_Revisions

Also, please mark on that wiki page that the revision you utilized does not work so other will know that. If it isnĀ“t already marked.

Legolas:
The wince crosscompiler works fine (rev. 5370). I think the problem is in the lcl, because I can't compile it even if I use a fpc stable version.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version