Recent

Author Topic: error starting lazarus  (Read 8272 times)

Raysiel

  • Newbie
  • Posts: 4
error starting lazarus
« on: March 19, 2004, 04:33:02 pm »
"The Free Pascal source directory was not found.
Some code functions will not work.
It is recommended that you install it and set the path
Environment -> Environment Options -> Files"

Since my english is not very good I'm not sure what i shall do.
I have already installed fpc baut i run a Deb and i don't know if the path specified in the error message is an existent one (if so where can i find it?) or i have to create it.

Anyway it starts so i try making a dumb application like i could do with delphi.

I place a button in the Form and i double-click it to create and access the procedure Button1.OnClick (or something similar i can't remember =P) but i get another error:

"The component editor of class "Tdefaultcomponenteditor" has created the error: "unable to find the method. Plz Fix the error shown in the message window"" and opens the form.pp file that is full of stuff i don't know (and i'm not sure i want to know ;)

Anybody can help?

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
error starting lazarus
« Reply #1 on: March 19, 2004, 09:11:21 pm »
You must set the Free Pascal Source directory in the Environment Options.
You will find the right place to put it by choosing the Environment Menu, and then Environment Options.
You will find the FPC Source Directory text box on the FIles tab (this is the first one)

You say you installed fpc, but did you install the fpc sources? To check whether you have, see if you have a file called heaptrc.pp in the directory /ypur/fpc/source/path/rtl/inc.
If so set the FPC source path to  /ypur/fpc/source/path.

HTH,
Vincent.

Raysiel

  • Newbie
  • Posts: 4
error starting lazarus
« Reply #2 on: March 22, 2004, 07:41:04 am »
i have
walhalla:/home/raysiel# locate heaptrc.pp
/usr/lib/fpc/1.0.10/units/linux/rtl/heaptrc.ppu

but i'm not sure we're talking about the same file...

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
error starting lazarus
« Reply #3 on: March 22, 2004, 08:34:42 am »
No, that is not the correct file. Now I am sure you need to install the fpc sources to be able to use all features, like the designer and some other code tools.

So either use a fpcsrc*.rpm or (since you are using debian) the .tgz from http://prdownloads.sourceforge.net/lazarus/fpcsrc-1.9.3-040306.tgz?download

HTH,
Vincent.

Raysiel

  • Newbie
  • Posts: 4
error starting lazarus
« Reply #4 on: March 24, 2004, 02:24:05 pm »
done, now i do not get the starting error message but i still have the error trying to acces the method of the button...

Raysiel

  • Newbie
  • Posts: 4
error starting lazarus
« Reply #5 on: March 25, 2004, 02:29:18 pm »
got some probs but i made it trough... now it seems everything is working properly ^^
thanks!

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
error starting lazarus
« Reply #6 on: March 25, 2004, 03:23:37 pm »
Quote
now i do not get the starting error message but i still have the error trying to acces the method of the button...

How did you solve your this problem?

 

TinyPortal © 2005-2018