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

Sven Barth pascaldragon at googlemail.com
Wed Apr 18 10:26:56 CEST 2012


Am 18.04.2012 10:14, schrieb Giulio Bernardi:
> Il 18/04/2012 9.38, Sven Barth ha scritto:
>> 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.
>
> Hello. IIRC, passing -v to the compiler also passes --verbose to fpcres,
> so a
> verbose fpc implies that fpcres is verbose too :)

No, it does not. I looked at the source.

Regards,
Sven





More information about the Lazarus mailing list