Sign in Join

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

Mailing lists / lazarus / 2015-05

Unable to find method

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Koenraad Lelong

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 ?

Thanks.

Koenraad

Reply by email

Michael Van Canneyt
to Koenraad Lelong
Koenraad Lelong wrote 18 lines
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.

Reply by email

Mattias Gaertner
to Koenraad Lelong: I just re-installed my operating system : OpenSuse 13.2, 64bit. I used fpcup to get…
Show quoted text 10 lines
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

Did you see a setup dialog when starting the IDE?

Show quoted text 7 lines
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 ?

Check the paths in Tools / Options / Environment / Files. Especially FPC source directory.

Mattias

Reply by email