Function Main not Defined

General discussion on mikroPascal PRO for PIC.
Post Reply
Author
Message
amfortas
Posts: 212
Joined: 18 Feb 2010 18:10

Function Main not Defined

#1 Post by amfortas » 13 Aug 2022 11:35

Hi,
I have forgotten how to deal with this ! Appeared after modifying an LCD text for some unknown reason.
Any suggestions would save my ageing brain effort.
Many thanks.Amfortas

janni
Posts: 5373
Joined: 18 Feb 2006 13:17
Contact:

Re: Function Main not Defined

#2 Post by janni » 13 Aug 2022 15:49

Check in Project Manager whether your main unit is listed as source. There may have been also 'spontaneous' changes in search directories (Project/Edit Search Paths).
All such info is collected in *.mpppi file of your project (may be opened with any text editor) where one may directly verify names and directories of all files involved in a project.

amfortas
Posts: 212
Joined: 18 Feb 2010 18:10

Re: Function Main not Defined

#3 Post by amfortas » 13 Aug 2022 16:43

Thanks Janni. That restores my ability to investigate this error. If all else fails, I will simple copy code to a new project.

Appreciate your help !
Amfortas

Post Reply

Return to “mikroPascal PRO for PIC General”