[Lazarus] Unable to find method

Michael Van Canneyt michael at freepascal.org
Tue May 5 09:43:39 CEST 2015



On Tue, 5 May 2015, Koenraad Lelong wrote:

> Hi,
>
> I just re-installed my operating system : OpenSuse 13.2, 64bit. I used fpcup 
> to get Lazarus. Actually, this is the first time I used fpcup.
> My first project using this new environment gives me the error "Unable to 
> find method. Please fix the error shown in the message window, ..."
> In the message window I get :
> Codetools, Errors: 2
> forms.pp(40,3) Error: unit not found: gettext
> lclclasses.pp(26,10) Error: unit not found: Classes
>
> I just tried to create an OnCreate event in the main form.
>
> I ran fpcup_update, but the error remains.
> Searching for those units, I find them, and the compiled versions are from 
> today, when I updated.
>
> What's happening ? How to solve ?

Looks like it cannot find the lazarus and Free Pascal sources. 
They need to be specified in the Tools|Options dialog under "Environment".
("Lazarus directory", and "FPC source directory ")

Michael.




More information about the Lazarus mailing list