Sign in Join

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

Mailing lists / lazarus / 2009-06

problem with crosscompiling lazarus linux->win32

2 messages · 1 person ·

Reply by email Subscribe to this list Your subscription

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

zeljko

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 ?

tnx.

zeljko

Reply by email

zeljko
to zeljko
zeljko wrote 25 lines
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

Reply by email