Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-11

Error when compile LCL for WINCE

6 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Zaher Dirkey

This error when compile LCL for WINCE in last reversions my command line

make clean packager/registration lcl LCL_PLATFORM=wince CPU_TARGET=arm OS_TARGET=wince PP=ppcrossarm.exe

--------------------------------------------------------------------------------------- Warning: Option "-Xr" is ignored for the current target platform. Free Pascal Compiler version 2.4.4 [2011/04/23] for arm Copyright (c) 1993-2010 by Florian Klaempfl
Target OS: WinCE for ARM
Compiling alllclunits.pp
Compiling barchart.pp
Compiling lclproc.pas
Compiling fpcadds.pas
Assembling fpcadds
Compiling avglvltree.pas
Assembling avglvltree
Fatal: Can't find unit FileUtil used by LCLProc
Fatal: Compilation aborted
make[1]: *** [alllclunits.ppu] Error 1
make[1]: Leaving directory `W:/programs/lazarus/lcl' make: *** [lcl] Error 2
---------------------------------------------------------------------------------------

Thanks in advance
Zaher Dirkey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20111106/3c6ec4aa/attachment-0001.html>

Reply by email

Felipe Monteiro de Carvalho
to Zaher Dirkey

2011/11/6 Zaher Dirkey :

Not worked, with same error.

Well, your command is wrong. lazutils is now a dependency of the lcl, so you need to build it before the lcl. Try something like this:

make lazutils packager/registration lcl LCL_PLATFORM=wince CPU_TARGET=arm OS_TARGET=wince PP=ppcrossarm.exe

Felipe Monteiro de Carvalho

Reply by email

Zaher Dirkey
to Felipe Monteiro de Carvalho

On Sun, Nov 6, 2011 at 8:15 PM, Felipe Monteiro de Carvalho <

Show quoted text 5 lines
wrote: make lazutils packager/registration lcl LCL_PLATFORM=wince CPU_TARGET=arm OS_TARGET=wince PP=ppcrossarm.exe

Yes it worked now, Thanks :)

But why not more short command like "make wince"?

Zaher Dirkey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20111106/49f248e6/attachment.html>

Reply by email

Felipe Monteiro de Carvalho
to Zaher Dirkey

2011/11/6 Zaher Dirkey :

But why not more short command like "make wince"?

You can create a .bat file called make_wince.bat, which would have the same effect.

And in a more general way, why do you use make? I never build my WinCE LCL like that. It is automatically built when necessary in 0.9.31, and you can also built it from the IDE.

Felipe Monteiro de Carvalho

Reply by email