Newbie: crosscompile from Linux to Win32 (i386) lazarus / 1-Linux ---------------------------------------------------------------------- dog.big · 2009-07-21 11:02 Hello, I have problem with getting my project compiled into win32 binary. I have just installed fpc-crosswin32 successfully. All paths is set right. (system.ppu too) But.. when i try to compile Win32 binary (i set Target OS to Win32) it gave me this error: Code: [Select]project1.lpr(6,27) Fatal: Can't find unit Interfaces used by Project1 But compiling of Linux binaries works fine. Sorry for my English. And thank you for help. Versions: Lazarus: 0.9.26.2-0 beta FP: 2.2.2 OS: Ubuntu 9.04 32bit PS: I recompiled Lazarus LCL for Win32 too... Regards dog.big ---------------------------------------------------------------------- Marc · 2009-07-21 13:50 did you crosscompoile the lcl (and components) for win32 before crosscompiling your app ? ---------------------------------------------------------------------- dog.big · 2009-07-21 14:06 Yes.. also tried to compile all stuff of Lazarus to win32 (tested in, but without sucess) and switch back to gtk 2.0 (what i need). ---------------------------------------------------------------------- marcianovc · 2009-09-11 13:48 help resolv error: marciano@MarteX:/usr/lib/lazarus$ sudo make all OS_TARGET=win32 make -C lcl all make[1]: Entrando no diretório `/usr/lib/lazarus/lcl' /bin/rm -f units/i386-win32/alllclunits.ppu /usr/bin/ppc386 -Twin32 -XPi386-win32- -Xr -gl -Fu. -Fuforms -Fuwidgetset -Fu/usr/lib/fpc/2.2.2/units/i386-win32/rtl -Fiinclude -FE. -FUunits/i386-win32 -di386  alllclunits.pp Free Pascal Compiler version 2.2.2 [2008/08/19] for i386 Copyright (c) 1993-2008 by Florian Klaempfl Target OS: Win32 for i386 Compiling alllclunits.pp Compiling dynhasharray.pp Compiling lclproc.pas Compiling fileutil.pas Compiling masks.pas Fatal: Can't find unit Contnrs used by Masks Fatal: Compilation aborted make[1]: ** [alllclunits.ppu] Erro 1 make[1]: Saindo do diretório `/usr/lib/lazarus/lcl' make: ** [lcl] Erro 2 marciano@MarteX:/usr/lib/lazarus$ Ubuntu 9.04 32bits FPC 2.2.2 Lazarus 0.9.26 fpc_crosswin32_2.2.2-081009_i386.deb instaled ---------------------------------------------------------------------- Leledumbo · 2009-09-12 08:01 Quotei set Target OS to Win32What about the widgetset?