[Lazarus] [Partially Solved] Cross Compile for arm-linux

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Dec 11 19:25:51 CET 2009


On Fri, 11 Dec 2009 19:02:42 +0100
Kjow <antispammoni at gmail.com> wrote:

> Hi again,
> 
> I'm tring to compile from lazarus a simple form with a button for gtk2
> arm-linux...
> 
> In lazarus I get this error:
> 
> ...
> Recompiling WSLCLClasses, checksum changed for LCLProc
> wslclclasses.pp(32,56) Fatal: Can't find unit WSLCLClasses used by LCLClasses
> 
> 
> FPC seems to works ok from console with a simple "hello world" (only a
> "writlen" in it):
> 
> ~/dev/TestARM$ ppcarm  -Xd -CaEABI -CfSOFT -CpARMV5 TestARM.pas
> Free Pascal Compiler version 2.5.1 [2009/12/11] for arm
> Copyright (c) 1993-2009 by Florian Klaempfl
> Target OS: Linux for ARM
> Compiling TestARM.pas
> Assembling hello
> Linking TestARM
> 4 lines compiled, 0.1 sec
> 
> 
> But, from console, the same lazarus project returns:
> 
> ~/dev/TestARM/LazARM$ ppcarm  -Xd -CaEABI -CfSOFT -CpARMV5 LAzARM.lpr
> Free Pascal Compiler version 2.5.1 [2009/12/11] for arm
> Copyright (c) 1993-2009 by Florian Klaempfl
> Target OS: Linux for ARM
> Compiling LAzARM.lpr
> Fatal: Can't find unit Interfaces used by LAzARM
> Fatal: Compilation aborted
> 
> Can you help me?

You forgot the -Fu option.
Have you compiled the LCL for arm?

Mattias





More information about the Lazarus mailing list