Forum > Linux

I cant use events

(1/1)

Guest:
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

Marc:

--- Quote from: "Guest" ---HI,


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

--- End quote ---


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

--- End quote ---


you need the source of it: custapp.pp

Navigation

[0] Message Index

Go to full version