Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-01

IDE Problem

19 messages · 5 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Bruno Alejandro
to Shane Miller: The TDefaultComponentEditor error occurred here already. I'm not sure of the answer but…

Hi

Show quoted text 5 lines
> The TDefaultComponentEditor error occurred here already. I'm not sure > of the answer but you can check the archives. The source error is shown in the messages window. If this is something like 'unit not found' check the FAQ.

Nop. This appears in a popup windows, like an exception.

Or see <lazarusdir>/components/custom/README.

Thanks

Reply by email

Mattias Gaertner
to Shane Miller: The TDefaultComponentEditor error occurred here already. I'm not sure of the answer but…
Show quoted text 9 lines
Hi!! I recompiled the lazarus, and reinstall the FPC 1.0.6 with the sources... then return to the same problem... All works fine, I can add component's to the form, but when I want to create an event (Double click) it tell me that "don't found the SysUtils unit'... I don't know what happen, because all the units are in the same dir, and the environment is by default...

here is an easy installation guide for single user under linux with cvs:

- download and install fpc 1.0.7 rpm from the lazarus site
- Create a directory (e.g. /home/name/freepascal) and cd to it.
- download the fpc sources:

export
cvs login

password is 'cvs' without the ''

cvs -z3 co -r FIXES_1_0_0 fpc

- download the lazarus sources:

cvs -z3 co lazarus

- compile lazarus:

cd lazarus
make

- start lazarus

./lazarus

- Set Environment -> Environment Options -> Files -> FPC Source directory to /home/name/freepascal/fpc

Mattias

Show quoted text 38 lines
Thanks Bruno Chavez El mar, 14-01-2003 a las 12:16, Mattias Gaertner escribió: > On 14 Jan 2003 11:17:25 -0600 > Bruno Alejandro 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 with > "unsubscribe" as the Subject > archives at http://www.lazarus.freepascal.org/mailarchives > _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Michael Van Canneyt
to Bruno Alejandro: Hi!!! Ok, I see... Version of the FPC??? I have FPC 1.0.7 and lazarus 0.8.5a Thanks Bruno…
Bruno Alejandro wrote 30 lines
Hi!!! On Wed, 2003-01-15 at 17:00, wrote: > > > On 15 Jan 2003, Bruno Alejandro wrote: > > > Hi!!! > > > > Sorry, I'm trying to adapt with the lazarus, I'm reading all the source > > code to understand it... > > > > I saw in the idecomp.pp a section to the Database and interbase.... > > The database stuff is in the FCL, which is part of the FPC compiler. Ok, I see... > > > > > Are there any component already working with lazarus??? > > > > Do you know if the Indy for kylix components work in lazarus??? > > It _may_ compile with version 1.1, because it needs threads, and > version 1.0 does not support threads. You will also need Libc from the kylix > sources. Version of the FPC???

version 1.0.7 (soon 1.0.8) will not compile it. version 1.1 (the main development branch) may compile it.

Michael.

Reply by email

Bruno Alejandro

Hi!!

I'm new in lazarus, but I know Delphi and Kylix, I like to contribute with you in this project that I see is really cool.

But I have a little problem, I download the cvs source, then I compile and works fine, I can add as many as I whant the components to the form, but when I double click to make an event or method, the Lazarus give me an error with the folowing text:

The component editor of class "TDEFAULTCOMPONENTEDITOR" has created the error "Unable to find method. Plz fix errors in source"

What can I do, I don't know what can I do to solve the problem...

And othe thing, in Kylix and Delphi I have VCL components:

1.- Can I compile and use this components with Lazarus. 2.- Can I make new components to Lazarus
3.- How can I do that.

Like I told you, I want to participate with you in this project.

Regards
Bruno Chavez

Reply by email

Mattias Gaertner
to Shane Miller: The TDefaultComponentEditor error occurred here already. I'm not sure of the answer but…
Show quoted text 5 lines
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

Show quoted text 38 lines
Thanks... Bruno El mar, 14-01-2003 a las 12:16, Mattias Gaertner escribió: > On 14 Jan 2003 11:17:25 -0600 > Bruno Alejandro 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 with > "unsubscribe" as the Subject > archives at http://www.lazarus.freepascal.org/mailarchives > _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Bruno Alejandro
to Unknown author: The database stuff is in the FCL, which is part of the FPC compiler. It _may_ compile…

Hi!!!

Show quoted text 12 lines
On 15 Jan 2003, Bruno Alejandro wrote: > Hi!!! > > Sorry, I'm trying to adapt with the lazarus, I'm reading all the source > code to understand it... > > I saw in the idecomp.pp a section to the Database and interbase.... The database stuff is in the FCL, which is part of the FPC compiler.

Ok, I see...

Show quoted text 9 lines
> > Are there any component already working with lazarus??? > > Do you know if the Indy for kylix components work in lazarus??? It _may_ compile with version 1.1, because it needs threads, and version 1.0 does not support threads. You will also need Libc from the kylix sources.

Version of the FPC???

I have FPC 1.0.7 and lazarus 0.8.5a

Thanks
Bruno Chavez

Show quoted text 8 lines
Michael. _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Bruno Alejandro
to Shane Miller: The TDefaultComponentEditor error occurred here already. I'm not sure of the answer but…

Hi!!

I recompiled the lazarus, and reinstall the FPC 1.0.6 with the sources... then return to the same problem...

All works fine, I can add component's to the form, but when I want to create an event (Double click) it tell me that "don't found the SysUtils unit'... I don't know what happen, because all the units are in the same dir, and the environment is by default...

Thanks
Bruno Chavez

Mattias Gaertner wrote 27 lines
On 14 Jan 2003 11:17:25 -0600 Bruno Alejandro 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 with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Mattias Gaertner
to Shane Miller: The TDefaultComponentEditor error occurred here already. I'm not sure of the answer but…
Show quoted text 10 lines
Hi again... sorry!!! I made exactly what you told me... I create a new form, and insert a simple button, compile ok, and run ok... I double click the button to create an event...: Don't find the button unit

I'm sorry. There was a bug for new, unsaved applications. I fixed that. It should work now.

that's so extrange because compile ok...

If you create a new project, the compilation will be done in the temporary directory, till you save the project.

Mattias

Show quoted text 102 lines
Thanks Bruno Chavez On Tue, 2003-01-14 at 14:21, Mattias Gaertner wrote: > On 14 Jan 2003 13:52:10 -0600 > Bruno Alejandro wrote: > > > Hi!! > > > > I recompiled the lazarus, and reinstall the FPC 1.0.6 with the > > sources... then return to the same problem... > > > > All works fine, I can add component's to the form, but when I want to > > create an event (Double click) it tell me that "don't found the > > SysUtils unit'... I don't know what happen, because all the units are > > in the same dir, and the environment is by default... > > here is an easy installation guide for single user under linux with cvs: > > - download and install fpc 1.0.7 rpm from the lazarus site > - Create a directory (e.g. /home/name/freepascal) and cd to it. > - download the fpc sources: > > export > cvs login > > password is 'cvs' without the '' > > cvs -z3 co -r FIXES_1_0_0 fpc > > - download the lazarus sources: > > cvs -z3 co lazarus > > - compile lazarus: > > cd lazarus > make > > - start lazarus > > ./lazarus > > - Set Environment -> Environment Options -> Files -> FPC Source > directory to/home/name/freepascal/fpc > > > Mattias > > > > > > > Thanks > > Bruno Chavez > > > > El mar, 14-01-2003 a las 12:16, Mattias Gaertner escribió: > > > On 14 Jan 2003 11:17:25 -0600 > > > Bruno Alejandro 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 with > > > "unsubscribe" as the Subject > > > archives at http://www.lazarus.freepascal.org/mailarchives > > > > > > > > > _________________________________________________________________ > > To unsubscribe: mail with > > "unsubscribe" as the Subject > > archives at http://www.lazarus.freepascal.org/mailarchives > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.lazarus.freepascal.org/mailarchives > _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Unknown author
to Bruno Alejandro: Hi!!! Sorry, I'm trying to adapt with the lazarus, I'm reading all the source code to…
Bruno Alejandro wrote 6 lines
Hi!!! Sorry, I'm trying to adapt with the lazarus, I'm reading all the source code to understand it... I saw in the idecomp.pp a section to the Database and interbase....

The database stuff is in the FCL, which is part of the FPC compiler.

Are there any component already working with lazarus??? Do you know if the Indy for kylix components work in lazarus???

It _may_ compile with version 1.1, because it needs threads, and version 1.0 does not support threads. You will also need Libc from the kylix sources.

Michael.

Reply by email

Shane Miller

The TDefaultComponentEditor error occurred here already. I'm not sure of the answer but you can check the archives.

Your other questions:

>1.- Can I compile and use this components with Lazarus.

Yes in most cases if they are straight VCL without windows API calls, there is a good chance they will compile.

>2.- Can I make new components to Lazarus - Sure. Feel free. >3.- How can I do that. - Same as you do in Delphi. Then when you want

top add them to your Lazarus you need to add them to the idecomp.pp file. Look at the source of this file for other examples on how to add the components to the IDE's component bar.

Hope this helps
Shane

Earlier message 36 lines
-----Original Message----- From: Bruno Alejandro Sent: Tuesday, January 14, 2003 9:24 AM To: Subject: [lazarus] IDE Problem Hi!! I'm new in lazarus, but I know Delphi and Kylix, I like to contribute with you in this project that I see is really cool. But I have a little problem, I download the cvs source, then I compile and works fine, I can add as many as I whant the components to the form, but when I double click to make an event or method, the Lazarus give me an error with the folowing text: The component editor of class "TDEFAULTCOMPONENTEDITOR" has created the error "Unable to find method. Plz fix errors in source" What can I do, I don't know what can I do to solve the problem... And othe thing, in Kylix and Delphi I have VCL components: 1.- Can I compile and use this components with Lazarus. 2.- Can I make new components to Lazarus 3.- How can I do that. Like I told you, I want to participate with you in this project. Regards Bruno Chavez _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Mattias Gaertner
to Shane Miller
Show quoted text 9 lines
Hi > > The TDefaultComponentEditor error occurred here already. I'm not sure > > of the answer but you can check the archives. > > The source error is shown in the messages window. > If this is something like 'unit not found' check the FAQ. Nop. This appears in a popup windows, like an exception.

Yes. And the type of error is shown in the message window. I have changed the message, so it should be more clear.

Mattias

Reply by email

Bruno Alejandro
to Shane Miller: The TDefaultComponentEditor error occurred here already. I'm not sure of the answer but…

Hi!!!

Sorry, I'm trying to adapt with the lazarus, I'm reading all the source code to understand it...

I saw in the idecomp.pp a section to the Database and interbase....

Are there any component already working with lazarus???

Do you know if the Indy for kylix components work in lazarus???

Thanks
Bruno Chavez

Shane Miller wrote 60 lines
The TDefaultComponentEditor error occurred here already. I'm not sure of the answer but you can check the archives. Your other questions: >>1.- Can I compile and use this components with Lazarus. Yes in most cases if they are straight VCL without windows API calls, there is a good chance they will compile. >>2.- Can I make new components to Lazarus - Sure. Feel free. >>3.- How can I do that. - Same as you do in Delphi. Then when you want top add them to your Lazarus you need to add them to the idecomp.pp file. Look at the source of this file for other examples on how to add the components to the IDE's component bar. Hope this helps Shane -----Original Message----- From: Bruno Alejandro Sent: Tuesday, January 14, 2003 9:24 AM To: Subject: [lazarus] IDE Problem Hi!! I'm new in lazarus, but I know Delphi and Kylix, I like to contribute with you in this project that I see is really cool. But I have a little problem, I download the cvs source, then I compile and works fine, I can add as many as I whant the components to the form, but when I double click to make an event or method, the Lazarus give me an error with the folowing text: The component editor of class "TDEFAULTCOMPONENTEDITOR" has created the error "Unable to find method. Plz fix errors in source" What can I do, I don't know what can I do to solve the problem... And othe thing, in Kylix and Delphi I have VCL components: 1.- Can I compile and use this components with Lazarus. 2.- Can I make new components to Lazarus 3.- How can I do that. Like I told you, I want to participate with you in this project. Regards Bruno Chavez _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Bruno Alejandro
to Shane Miller: The TDefaultComponentEditor error occurred here already. I'm not sure of the answer but…

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

Mattias Gaertner wrote 70 lines
On 14 Jan 2003 12:39:32 -0600 Bruno Alejandro 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 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 with > > "unsubscribe" as the Subject > > archives at http://www.lazarus.freepascal.org/mailarchives > > > > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.lazarus.freepascal.org/mailarchives _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Bruno Alejandro
to Shane Miller: The TDefaultComponentEditor error occurred here already. I'm not sure of the answer but…

Yep, you'r right, If put a button, and save all, the and give the double click to the button, it works fine...

Do you have some VCL (Sorry I don't know what's the name in lazarus) for comunication?? like Ping, HTTP, etc??? and for databases????

Thanks for your help...

Bruno Chavez

Mattias Gaertner wrote 136 lines
On 14 Jan 2003 17:03:00 -0600 Bruno Alejandro wrote: > Hi again... sorry!!! > > I made exactly what you told me... > > I create a new form, and insert a simple button, compile ok, and run > ok... > > I double click the button to create an event...: > > Don't find the button unit I'm sorry. There was a bug for new, unsaved applications. I fixed that. It should work now. > that's so extrange because compile ok... If you create a new project, the compilation will be done in the temporary directory, till you save the project. Mattias > > Thanks > Bruno Chavez > > On Tue, 2003-01-14 at 14:21, Mattias Gaertner wrote: > > On 14 Jan 2003 13:52:10 -0600 > > Bruno Alejandro wrote: > > > > > Hi!! > > > > > > I recompiled the lazarus, and reinstall the FPC 1.0.6 with the > > > sources... then return to the same problem... > > > > > > All works fine, I can add component's to the form, but when I want to > > > create an event (Double click) it tell me that "don't found the > > > SysUtils unit'... I don't know what happen, because all the units are > > > in the same dir, and the environment is by default... > > > > here is an easy installation guide for single user under linux with cvs: > > > > - download and install fpc 1.0.7 rpm from the lazarus site > > - Create a directory (e.g. /home/name/freepascal) and cd to it. > > - download the fpc sources: > > > > export > > cvs login > > > > password is 'cvs' without the '' > > > > cvs -z3 co -r FIXES_1_0_0 fpc > > > > - download the lazarus sources: > > > > cvs -z3 co lazarus > > > > - compile lazarus: > > > > cd lazarus > > make > > > > - start lazarus > > > > ./lazarus > > > > - Set Environment -> Environment Options -> Files -> FPC Source > > directory to/home/name/freepascal/fpc > > > > > > Mattias > > > > > > > > > > > > Thanks > > > Bruno Chavez > > > > > > El mar, 14-01-2003 a las 12:16, Mattias Gaertner escribió: > > > > On 14 Jan 2003 11:17:25 -0600 > > > > Bruno Alejandro 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 with > > > > "unsubscribe" as the Subject > > > > archives at http://www.lazarus.freepascal.org/mailarchives > > > > > > > > > > > > > _________________________________________________________________ > > > To unsubscribe: mail with > > > "unsubscribe" as the Subject > > > archives at http://www.lazarus.freepascal.org/mailarchives > > > > _________________________________________________________________ > > To unsubscribe: mail with > > "unsubscribe" as the Subject > > archives at http://www.lazarus.freepascal.org/mailarchives > > > > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.lazarus.freepascal.org/mailarchives _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Mattias Gaertner
to Shane Miller: The TDefaultComponentEditor error occurred here already. I'm not sure of the answer but…
Show quoted text 6 lines
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

Reply by email

Bruno Alejandro
to Shane Miller: The TDefaultComponentEditor error occurred here already. I'm not sure of the answer but…

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????

Thanks
Bruno Chavez

Show quoted text 11 lines
Yes. And the type of error is shown in the message window. I have changed the message, so it should be more clear. Mattias _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Bruno Alejandro
to Shane Miller: The TDefaultComponentEditor error occurred here already. I'm not sure of the answer but…

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..

I installed the FPC via RPM the 1.0.6 version.

Thanks...
Bruno

Mattias Gaertner wrote 27 lines
On 14 Jan 2003 11:17:25 -0600 Bruno Alejandro 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 with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Bruno Alejandro
to Shane Miller: The TDefaultComponentEditor error occurred here already. I'm not sure of the answer but…

Hi again... sorry!!!

I made exactly what you told me...

I create a new form, and insert a simple button, compile ok, and run ok...

I double click the button to create an event...:

Don't find the button unit

that's so extrange because compile ok...

Thanks
Bruno Chavez

Mattias Gaertner wrote 91 lines
On 14 Jan 2003 13:52:10 -0600 Bruno Alejandro wrote: > Hi!! > > I recompiled the lazarus, and reinstall the FPC 1.0.6 with the > sources... then return to the same problem... > > All works fine, I can add component's to the form, but when I want to > create an event (Double click) it tell me that "don't found the SysUtils > unit'... I don't know what happen, because all the units are in the same > dir, and the environment is by default... here is an easy installation guide for single user under linux with cvs: - download and install fpc 1.0.7 rpm from the lazarus site - Create a directory (e.g. /home/name/freepascal) and cd to it. - download the fpc sources: export cvs login password is 'cvs' without the '' cvs -z3 co -r FIXES_1_0_0 fpc - download the lazarus sources: cvs -z3 co lazarus - compile lazarus: cd lazarus make - start lazarus ./lazarus - Set Environment -> Environment Options -> Files -> FPC Source directory to /home/name/freepascal/fpc Mattias > > Thanks > Bruno Chavez > > El mar, 14-01-2003 a las 12:16, Mattias Gaertner escribió: > > On 14 Jan 2003 11:17:25 -0600 > > Bruno Alejandro 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 with > > "unsubscribe" as the Subject > > archives at http://www.lazarus.freepascal.org/mailarchives > > > > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.lazarus.freepascal.org/mailarchives _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Mattias Gaertner
to Shane Miller: The TDefaultComponentEditor error occurred here already. I'm not sure of the answer but…
The TDefaultComponentEditor error occurred here already. I'm not sure of the answer but you can check the archives.

The source error is shown in the messages window.
If this is something like 'unit not found' check the FAQ.

Show quoted text 11 lines
Your other questions: >>1.- Can I compile and use this components with Lazarus. Yes in most cases if they are straight VCL without windows API calls, there is a good chance they will compile. >>2.- Can I make new components to Lazarus - Sure. Feel free. >>3.- How can I do that. - Same as you do in Delphi. Then when you want top add them to your Lazarus you need to add them to the idecomp.pp file. Look at the source of this file for other examples on how to add the components to the IDE's component bar.

Or see <lazarusdir>/components/custom/README.

Mattias

Show quoted text 45 lines
Hope this helps Shane -----Original Message----- From: Bruno Alejandro Sent: Tuesday, January 14, 2003 9:24 AM To: Subject: [lazarus] IDE Problem Hi!! I'm new in lazarus, but I know Delphi and Kylix, I like to contribute with you in this project that I see is really cool. But I have a little problem, I download the cvs source, then I compile and works fine, I can add as many as I whant the components to the form, but when I double click to make an event or method, the Lazarus give me an error with the folowing text: The component editor of class "TDEFAULTCOMPONENTEDITOR" has created the error "Unable to find method. Plz fix errors in source" What can I do, I don't know what can I do to solve the problem... And othe thing, in Kylix and Delphi I have VCL components: 1.- Can I compile and use this components with Lazarus. 2.- Can I make new components to Lazarus 3.- How can I do that. Like I told you, I want to participate with you in this project. Regards Bruno Chavez _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email