[Lazarus] Error while compiling resources

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Apr 18 00:11:11 CEST 2012


On Wed, 18 Apr 2012 00:07:31 +0300
patspiper <patspiper at gmail.com> wrote:

> On 17/04/12 23:57, Mattias Gaertner wrote:
> >
> >> I save the project to project1.lpi and unit1.pas
> >>
> >> I now run it again. It fails with "project1.lpr(19,1) Error: Error
> >> while compiling resources".
> >>
> >> Hint: Start of reading config file C:\lazarus\fpc\2.6.0\bin\i386-win32\fpc.cfg
> >> Hint: End of reading config file C:\lazarus\fpc\2.6.0\bin\i386-win32\fpc.cfg
> >> Free Pascal Compiler version 2.6.0 [2012/03/14] for i386
> >> Copyright (c) 1993-2011 by Florian Klaempfl and others
> >> Target OS: Win32 for i386
> >> Compiling project1.lpr
> >> Compiling unit1.pas
> >> Compiling resource
> >> Z:\Projects\Delphi\Workflow\Revision\RevAdmin\test\lib\i386-win32\project1.or
> >> project1.lpr(19,1) Error: Error while compiling resources
> >> Linking project1.exe
> >> Fatal: Compilation aborted
> > Can you compare the two directories (temp and saved) and tell where the
> > difference is?
> Is it possible for the IDE to show the error details? Compiling resource 
> errors always show the generic 'Error: Error while compiling resources' 
> message which is not very indicative.

It now shows the 'Compiling resource <file>' line.

Mattias




More information about the Lazarus mailing list