[lazarus] Beginner

Alan Mead cubrewer at yahoo.com
Tue Sep 23 03:20:48 EDT 2003


I installed Lazarus 0.9.0.2 from the RPM downloaded from the lazarus
site.  I have FPC 1.0.10 installed.   I'm running Redhat 7.2.  

Lazarus looks great and I can create an initial form.  But if I
double click on, say, a button, I get:

### TCodeToolManager.HandleException: "unit not found: CustApp" at
Line=49 Col=23 in "/usr/share/lazarus/lcl/forms.pp"
TMainIDE.DoOpenEditorFile END "/usr/share/lazarus/lcl/forms.pp"
TDesigner.InvokeComponentEditor ERROR: Unable to find method. Plz fix
the error shown in the message window.

When I try to run it (i.e., click the 'play' button), I get:

TOutputFilter: "interfacebase.pp(6,13) Fatal: Can't find unit
CLASSES"

Here is my /etc/fpc.cfg (dated July 14, which is when I installed FPC
1.0.10) with all the comments stripped out:

  -OG2p3
  -Xs
  -g
  -Crtoi
-Sgic

-Fu/usr/lib/fpc/1.0.10/units/$target
-Fu/usr/lib/fpc/1.0.10/units/$target/*
-Fu/usr/lib/fpc/1.0.10/units/$target/rtl
-Fl/usr/lib/gcc-lib/i386-redhat-linux/2.96
-Xs
-l
-viwn

There is a unit called classes.ppu in
'/usr/lib/fpc/1.0.10/units/linux/fcl', should I add that?

-Alan Mead



__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com






More information about the Lazarus mailing list