Recent

Author Topic: I cant use events  (Read 5631 times)

Guest

  • Guest
I cant use events
« 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

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2527
Re: I cant use events
« Reply #1 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
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

 

TinyPortal © 2005-2018