[lazarus] IDE Problem
Bruno Alejandro
bruno at vias.com
Tue Jan 14 18:00:39 EST 2003
This is the output in the terminal, I hope this can help
The only thing I do is... Insert a button... compile and run, close,
give double click to the button...
Gdk-WARNING **: locale not supported by C library
NOTE: editor options config file not found
Note: miscellaneous options file not found - using defaults
Note: codetools config file not found - using defaults
TMainIDE.DoNewProject A
TMainIDE.DoNewEditorFile A NewFilename=
TPascalParserTool.BuildTree B OnlyIntf=FALSE project1.lpr
[TCustomFormEditor.CreateComponent] Class='TFORM'
TPascalParserTool.BuildTree B OnlyIntf=FALSE project1.lpr
TMainIDE.DoNewEditorFile end unit1.pas
TMainIDE.DoNewProject end 0
************************************************************
MouseDownOnControl Form1:TForm1 No Shift down, No CTRL down
[TDesigner.MouseDownOnControl] END
************************************************************
MouseUpOnControl Form1:TForm1
[TCustomFormEditor.CreateComponent] Class='TBUTTON'
opInsert
Parent is 'Form1'
TPascalParserTool.BuildTree B OnlyIntf=TRUE unit1.pas
TPascalParserTool.BuildTree B OnlyIntf=TRUE unit1.pas
TPascalParserTool.BuildTree B OnlyIntf=FALSE unit1.pas
NEW COMPONENT ADDED: Form.ComponentCount=1
NewCI.Control.Owner.Name=Form1
[TDesigner.MouseLeftUpOnControl] END
[TMainIDE.DoRunProject] A
TMainIDE.DoSaveProject A SaveAs=FALSE SaveToTestDir=TRUE
TPascalParserTool.BuildTree B OnlyIntf=FALSE unit1.pas
TMainIDE.DoSaveProject End
[TCompiler.Compile] CmdLine="/usr/bin/ppc386 -Rintel -S2cgi -CD
-Ch8000000 -OG1p1 -Tlinux -gl -XD -vewnhi -l
-Fu/home/bruno/freepascal/lazarus/lcl/units
-Fu/home/bruno/freepascal/lazarus/lcl/units/gtk
/home/bruno/proyectos/project1.lpr"
TOutputFilter: "Hint: Start of reading config file /etc/fpc.cfg"
TOutputFilter: "Hint: End of reading config file /etc/fpc.cfg"
TOutputFilter: "Free Pascal Compiler version 1.0.7 [2002/09/21] for
i386"
TOutputFilter: "Copyright (c) 1993-2002 by Florian Klaempfl"
TOutputFilter: "Target OS: Linux for i386"
TOutputFilter: "Compiling /home/bruno/proyectos/project1.lpr"
TOutputFilter: "Compiling unit1.pas"
TOutputFilter: "Assembling unit1"
TOutputFilter: "Assembling project1"
TOutputFilter: "Linking /home/bruno/proyectos/project1"
TOutputFilter: "51 Lines compiled, 2.2 sec"
[TCompiler.Compile] end
EXECUTING "/home/bruno/proyectos/project1"
WorkingDir "/home/bruno/proyectos/"
[TMainIDE.DoRunProject] END
************************************************************
MouseDownOnControl Button1:TBUTTON No Shift down, No CTRL down
[TDesigner.MouseDownOnControl] END
************************************************************
MouseUpOnControl Button1:TBUTTON
[TDesigner.MouseLeftUpOnControl] END
************************************************************
MouseDownOnControl Button1:TBUTTON No Shift down, No CTRL down
[TDesigner.MouseDownOnControl] END
************************************************************
MouseUpOnControl Button1:TBUTTON
TDesigner.InvokeComponentEditor A Button1:TBUTTON
TDesigner.InvokeComponentEditor B TDEFAULTCOMPONENTEDITOR
### TMethodPropertyEditor.Edit A OldValue=
### TMethodPropertyEditor.Edit B FormMethodName=Button1CLICK
### TMethodPropertyEditor.SetValue A OldValue="" NewValue=Button1CLICK
[TEventsCodeTool.PublishedMethodExists] A UpperClassName=TFORM1
TPascalParserTool.BuildTree B OnlyIntf=TRUE unit1.pas
[TEventsCodeTool.PublishedMethodExists] B TRUE
### TCodeToolManager.HandleException: "unit not found: Buttons" at
Line=8 Col=70 in "unit1.pas"
TDesigner.InvokeComponentEditor ERROR: Unable to find method. Plz fix
the error shown in the message window.
[TDesigner.MouseLeftUpOnControl] END
Thanks
Bruno Chavez
On Tue, 2003-01-14 at 13:58, Mattias Gaertner wrote:
> On 14 Jan 2003 12:39:32 -0600
> Bruno Alejandro <bruno at vias.com> wrote:
>
> > Hi!!
> >
> > I have now a bigger problem, because in the IDE of lazarus are correctly
> > configured the paths (I think so), but now it doesn't find the interface
> > unit, I don't know if the problem is for the FPC or the Lazarus..
>
> Maybe you added the lcl directory to your 'Other unit files'.
> Open the Compiler options, clear the search paths and use the '...' buttons
> to the right of the search paths to add the templates.
>
> Are you trying to compile a Delphi application? The lazarus IDE setups all
> these things automatically, if you create a new application.
>
>
> > I installed the FPC via RPM the 1.0.6 version.
>
> 1.0.7 and its sources are required for lazarus. see lazarus or fpc website
> for download.
>
>
> Mattias
>
>
> >
> > Thanks...
> > Bruno
> >
> > El mar, 14-01-2003 a las 12:16, Mattias Gaertner escribió:
> > > On 14 Jan 2003 11:17:25 -0600
> > > Bruno Alejandro <bruno at vias.com> wrote:
> > >
> > > > Yep, you'r right, and I see the FAQ, and tell me that install and
> > > > compile again the Lazarus, but I already do that, and still with the
> > > > same error, and in the message window tell me that the button unit
> > > > doesn't found
> > > >
> > > > Do you know why????
> > >
> > > It can't find the file buttons.pp.
> > > Check
> > > Run->Compiler Options->Search Paths->Other Sources
> > > for
> > > $(LazarusDir)/lcl;$(LazarusDir)/lcl/interfaces/$(LCLWidgetType)
> > >
> > > The FPC source path can be set via:
> > > Environment -> General Options -> Files -> FPC source path
> > >
> > >
> > > Mattias
> > >
> > > _________________________________________________________________
> > > To unsubscribe: mail lazarus-request at miraclec.com with
> > > "unsubscribe" as the Subject
> > > archives at http://www.lazarus.freepascal.org/mailarchives
> > >
> >
> >
> > _________________________________________________________________
> > To unsubscribe: mail lazarus-request at miraclec.com with
> > "unsubscribe" as the Subject
> > archives at http://www.lazarus.freepascal.org/mailarchives
>
> _________________________________________________________________
> To unsubscribe: mail lazarus-request at miraclec.com with
> "unsubscribe" as the Subject
> archives at http://www.lazarus.freepascal.org/mailarchives
>
More information about the Lazarus
mailing list