Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-02

Error while compiling resources

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Alex du Plessis

Hello List

Previously everything compiled fine - up to today. Trying to recompile my project gives me the following messages:

Hint: Start of reading config file
C:\lazarus\fpc\2.4.1\bin\i386-win32\fpc.cfg
Hint: End of reading config file C:\lazarus\fpc\2.4.1\bin\i386-win32\fpc.cfg Free Pascal Compiler version 2.4.1 [2010/01/27] for i386 Copyright (c) 1993-2009 by Florian Klaempfl
Target OS: Win32 for i386
Compiling mobilemanager.lpr
Compiling resource
F:\DataRoot\Projects\MobileManager\LazApp\Source\mobilemanager.rc Compiling resource
F:\DataRoot\Projects\MobileManager\LazApp\Units\mobilemanager.or mobilemanager.lpr(45,1) Error: Error while compiling resources Linking ..\bin\mm.exe
mobilemanager.lpr(45,1) Fatal: There were 1 errors compiling module, stopping

I am using WinXP (Prof) SP3
Lazarus Version 0.9.29
Date: 2010-01-27
FPC version: 2.4.1
SVN revision: 23561

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.

Could someone please point me in the right direction?

Alex du Plessis -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20100205/dd4077c2/attachment.html>

Reply by email

Paul Ishenin
to Alex du Plessis
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.

Reply by email

Alex du Plessis
to Paul Ishenin
Paul Ishenin wrote 30 lines
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 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.freepascal.org/pipermail/lazarus/attachments/20100206/eef0ccad/attachment.html>

Reply by email