[Lazarus] Error while compiling resources

Alex du Plessis alexdup.main at gmail.com
Sat Feb 6 06:42:27 CET 2010


On 5 February 2010 15:27, Paul Ishenin <webpirat at mail.ru> wrote:

> 05.02.2010 19:44, Alex du Plessis wrote:
>
>> Previously everything compiled fine - up to today.  Trying to recompile my
>> project gives me the following messages:
>>
> ..
>
>  mobilemanager.lpr(45,1) Fatal: There were 1 errors compiling module,
>> stopping
>>
> ...
>
>
>> What should I do to correct the problem? Since I am an applications
>> programmer I am not to clued-up on the resource end of Lazarus and only use
>> what is available via the IDE, I am not sure how to solve this.
>>
> Please copy your project build command line and execute it from the console
> (not from lazarus). The error message will have more details.
>
>
> Best regards,
> Paul Ishenin.
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>

Thanx Paul, it pointed me in the right direction.  I found this entry in the
project.lpr file:

{$IFDEF WINDOWS}{$R mobilemanager.rc}{$ENDIF}

I did not add this, it must have been added automatically at some stage.
Once I removed this entry - it compiled smoothly.

Thank you.
-- 
Alex du Plessis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20100206/eef0ccad/attachment-0004.html>


More information about the Lazarus mailing list