[Lazarus] Compiling LCL for ARM fails at lconvencoding.pas

cc_ at freemail.hu cc_ at freemail.hu
Sat May 10 08:52:15 CEST 2008


> How are you building LCL? From the IDE or from the command line?

>From the command line as described  at 
http://wiki.lazarus.freepascal.org/Windows_CE_Interface#Setting_up_the_Windows_CE_interface_manually.

I have installed Lazarus twice to two separte directories. "Q:|\Lazarus" has 
FPC 2.20, "Q:|\Lazarus_221" has  FPC 2.21.
Both were installed by running the respective snapshot installers from 
http://snapshots.lazarus.shikami.org/lazarus/. Plus installed the WinCE 
snapshot into "Q:|\Lazarus_221".

Both installations are refreshed daily from SVN.
The FPC 2.21 source too, to the Q:\Lazarus_221\fpc\2.2.1\source\ directory.


These are the batch files I have been using:

for the CrossCompiler
Q:
cd \Lazarus_221\fpc\2.2.1\source\compiler\
PATH=Q:\Lazarus\fpc\2.2.0\bin\i386-win32
make cycle CPU_TARGET=arm OS_TARGET=wince
COPY /Y *.exe  Q:\Lazarus_221\fpc\2.2.1\bin\i386-win32\


for the FCL:
Q:
cd \Lazarus_221\fpc\2.2.1\source\packages\
PATH=Q:\Lazarus_221\fpc\2.2.1\bin\i386-win32\
make clean all CPU_TARGET=arm OS_TARGET=wince PP=ppcrossarm.exe 
OPT="-FUQ:\Lazarus_221\fpc\2.2.1\units\arm-wince"


for the LCL:
Q:
cd \Lazarus_221
PATH=Q:\Lazarus_221\fpc\2.2.1\bin\i386-win32
make lcl LCL_PLATFORM=wince PP=ppcrossarm.exe CPU_TARGET=arm OS_TARGET=wince

Do these clear the picture?


Sometimes it is faster to solve a problem then to understand why it occured. 
If it is a  configuartion promblem  could reinstalling solve it?

Thanks a lot for your help and time! :)
 - Leslie -


----- Original Message ----- 
From: "Felipe Monteiro de Carvalho" <felipemonteiro.carvalho at gmail.com>
To: "General mailing list" <lazarus at lazarus.freepascal.org>
Sent: Saturday, May 10, 2008 5:33 AM
Subject: Re: [Lazarus] Compiling LCL for ARM fails at lconvencoding.pas


>> wincewsmenus.pp(194,21) Error: Identifier not found "SHMENUBARINFO"
>
> Are you sure you've set all settings?
>
> Operating System wince
> Architecture: arm
>
> How are you building LCL? From the IDE or from the command line?
>
> -- 
> Felipe Monteiro de Carvalho
> _______________________________________________
> Lazarus mailing list
> Lazarus at lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
> 




More information about the Lazarus mailing list