This is -most probably- the same error as for your former project:
http://forum.lazarus.freepascal.org/index.php/topic,27562.msg170670.html#msg170670This means that you've begun to create a new event, for one of your forms or one of their controls, and finally not implemented it. In fact, you've even removed it, I should say.
For instance, by double-clicking on a new form, the Lazarus IDE will create all the necessary code and object for an OnCreate event.
Sample (for a new project):
- "procedure TForm1.FormCreate(Sender: TObject);" in unit1.pas,
- associated to "OnCreate = FormCreate" for object Form1: TForm1 in unit1.lfm
But if you remove manually "procedure TForm1.FormCreate(Sender: TObject);" in unit1.pas, the OnCreate event is still present in unit1.lfm. It must also be removed, or else you'll get the kind of error you're experimenting.
Theoretically, when saving or building the whole project, the unused OnCreate event (or any other unused event) in the .lfm file should be proposed to be removed. See attached Capture.png image.
In your particular case, it seems that there is an issue which prevents this message to be displayed. May be because you've not asked to remove it, the first time this message has been displayed.
You could manually remove it from the concerned .lfm file, but it's
NOT recommended unless you do know
EXACTLY what your are doing.
So, load your project in the Lazarus IDE and then:
- display all your forms one after one: (IDE menu) Window-> mainform, and so on ...
- add a control (for instance a pusbutton) in each of your forms and delete it immediately (click on it and the press the "Del" key),
- (re)save, then (re)build your whole project,
- when re-saving the concerned form/unit, you should now get the same message as the one displayed in my attached Capture.png image,
- this time, DO CLICK on the "Remove them" choice.
The next time you'll get this message in the future, always choose the "Remove them" button. Doing so, you'll avoid this kind of error.
** EDIT ** : if you don't get the concerned message during the above (re)save step, it means that your incorrect .lfm file has not
been updated correctly. Which also implies that your error won't be fixed.
** EDIT2 **: modifications in the above steps to force the "re-saving" of the offended form.