[Lazarus] Mac OS X : Cmd+R while debugging tries to compile app again...
dominique at savagesoftware.com.au
dominique at savagesoftware.com.au
Thu Oct 9 23:07:18 CEST 2008
Not OK!
No icon, no version ...
Note: No option inside /usr/lib/fpc/fpc-cross.cfg config file
crossp.lpr(18,1) Error: resource compiler not found, switching to
external mode
crossp.lpr(18,1) Error: Can't open object file: fpc-res.or
crossp.lpr(18,1) Fatal: There were 2 errors compiling module, stopping
Windres
osvaldo at osvaldo-laptop:/usr/bin$ ls -l *windr*
-rwxr-xr-x 1 root root 2808262 2008-10-07 22:01 i386-win32-windres
-rwxr-xr-x 1 root root 2808262 2008-10-07 22:01 windres
osvaldo at osvaldo-laptop:/usr/bin$
projetc file crossp.lpr
program crossp;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Interfaces, // this includes the LCL widgetset
Forms
{ you can add units after this }, ucr1;
begin
Application.Initialize;
Application.CreateForm(TForm1, Form1);
Application.Run;
end.
Em Qui, 2008-10-09 às 06:17 +0800, Paul Ishenin escreveu:
> Osvaldo TCF - Listas write:
> > This:
> >
> > osvaldo at osvaldo-laptop:/usr/bin$ ls -l *windr*
> > -rwxr-xr-x 1 root root 2808262 2008-10-07 22:01 i386-win32-windres
> > -rwxr-xr-x 1 root root 2808262 2008-10-07 22:01 windres
> > osvaldo at osvaldo-laptop:/usr/bin$
> >
> update your lazarus and remove this ifdef {$IFDEF windows}{$R
> xxx.rc}{$ENDIF} - it should not apper once again until you change
> something with icon, manifest or version info.
>
> Best regards,
> Paul Ishenin.
> _______________________________________________
> Lazarus mailing list
> Lazarus at lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
More information about the Lazarus
mailing list