[Lazarus] problem with crosscompiling lazarus linux->win32

zeljko zeljko at holobit.net
Wed Jun 10 19:17:02 CEST 2009


On Wednesday 10 June 2009 18:46, zeljko wrote:
> fpc-2.2.5 r13254 (latest)
> binutils-2.19.1
> cross fpc builded w/o problems.
> I can compile fpc projects for linux / win32 but lazarus cannot
>
> make clean all OS_TARGET=win32 LCL_PLATFORM=qt OPT='-dUSE_QT_45'
>
> at the end I have
>
> ...
> ...
> Compiling cleandirdlg.pas
> Compiling showdeletingfilesdlg.pas
> Compiling compatibilityrestrictions.pas
> Compiling restrictionbrowser.pas
> Compiling projectwizarddlg.pas
> Compiling idecmdline.pas
> lazarus.pp(125,1) Error: resource compiler not found, switching to external
> mode
> lazarus.pp(125,1) Fatal: There were 1 errors compiling module, stopping
> Fatal: Compilation aborted
>
> As I can see fpc canot see windres or whatever ... ?!?
>
> anyone ?

Forget it .... I've looked into makefile and found solution ... :)

Here it is:


make clean all OS_TARGET=win32 LCL_PLATFORM=qt OPT='-dUSE_QT_45' 
BINUTILSPREFIX=i686-mingw32- CROSSBINDIR=PATH_TO_i686-mingw32_BINARIES




More information about the Lazarus mailing list