Lazarus

Installation => Linux => Topic started by: Guest on November 22, 2003, 02:09:57 am

Title: I cant use events
Post by: Guest on November 22, 2003, 02:09:57 am
HI,

I've installed FPC (1.0.11) and lazarus (0.9 latest beta) and I can compile apps okay with it.

However if I double click on a TButton I get the following error :

The component editor of class "TDEFAULTCOMPONENTEDITOR" has created the error "Unable to find method"...

### TCodeToolManager.HandleException: "unit not found: CustApp" at Line=46 Col=22 in "/usr/share/lazarus/lcl/forms.pp"

My fpc.cfg in etc is okay (I have tested with ppc386 -vt bogus)

my setting for other sources in lazarus is :  (LazarusDir)/lcl/;$(LazarusDir)/lcl/interfaces/$(LCLWidgetType)/

my setting for FPC source directory in lazarus is  /usr/lib/fpc/1.0.11/units/linux/

The files CustApp* are on my system in :

/usr./lib/fpc/1.0.11/units/linux/fcl/custapp.ppu
/usr/lib/fpc/1.0.11/units/linux/fcl/custapp.o

if i comment out the CustApp in forms then it complains about not finding SysUtils in uses clause.

Can anyone help?

ta
Title: Re: I cant use events
Post by: Marc on November 26, 2003, 03:51:23 pm
Quote from: "Guest"
HI,


my setting for FPC source directory in lazarus is  /usr/lib/fpc/1.0.11/units/linux/


Thats probably not where your source is located

Quote from: "Guest"


The files CustApp* are on my system in :

/usr./lib/fpc/1.0.11/units/linux/fcl/custapp.ppu
/usr/lib/fpc/1.0.11/units/linux/fcl/custapp.o


you need the source of it: custapp.pp
TinyPortal © 2005-2018