[Lazarus] How to find error from 'Error compiling resources'?

Sven Barth pascaldragon at googlemail.com
Wed Apr 18 09:38:43 CEST 2012


Am 18.04.2012 09:32, schrieb Mattias Gaertner:
> On Tue, 22 Nov 2011 06:20:39 +0800
> Paul Ishenin<webpirat at mail.ru>  wrote:
>
>> 21.11.11 21:38, Mattias Gaertner wrote:
>>>   >  At the same time when you compile from the console you can read the
>>>   >  error message.
>>>
>>> Maybe the IDE stops reading the output on error and forgets to read the
>>> rest.
>>>
>>> Maybe the compiler shuts down, before the IDE can read everything.
>>>
>>> Is it possible to simulate the bug?
>>
>> Add {$R *.res} to the project file twice.
>
> It shows
>
> Compiling resource /path/test/lib/x86_64-linux/project1.or
> project1.lpr(19,1) Error: Error while compiling resources
>
> Is there some way to get some more information from the resource
> compiler?

fpcres itself supports a "--verbose" command, but the compiler doesn't 
pass this to the tool. So you'd need to have a wrapper 
application/script which passes that parameter as well.

Regards,
Sven





More information about the Lazarus mailing list