Sign in Join

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

Mailing lists / lazarus / 2003-09

Programing with Lazarus (win32)

4 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

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

Horacio Jamilis

Hi,
�
I have a problem with Lazarus on Win32 (fpc 1.0.10 cvs and todays Lazarus cvs).
�
When lazarus starts It creates a new project with a new form.
In the form I put a button, then I doble click the button (to get the ButtonClick event method) to fill in the button click code.
Then I get the next dialog error:
"Error in TDEFAULTCOMPONENTEDITOR"
"The component editor of class
"TDEFAULTCOMPONENTEDITOR"has created the error:
"Unable to find method. Plz fix the error shown in the message window."
�
In the message window appears:
"\lcl\Forms.pp(49,23) Error: unit not found:
CustApp"
�
Well... where shoud I setup the search path in
Lazarus?
I am able to compile Lazarus with "make" so I guess I have the path correctly for fpc.
�
Any help is wellcome.
�
Horacio

Reply by email

Andrew Higgs
to Horacio Jamilis

OK

Horacio has answered my first question. Can lazarus be compiled under win32?

I get a problem with lazarus.res. The digging I have done seems to reveal that I don't have lazarus.rc. How do I get this file? Where does it come from?

Kind regards
Andrew Higgs

Horacio Jamilis wrote 24 lines
Hi, I have a problem with Lazarus on Win32 (fpc 1.0.10 cvs and todays Lazarus cvs). When lazarus starts It creates a new project with a new form. In the form I put a button, then I doble click the button (to get the ButtonClick event method) to fill in the button click code. Then I get the next dialog error: "Error in TDEFAULTCOMPONENTEDITOR" "The component editor of class "TDEFAULTCOMPONENTEDITOR"has created the error: "Unable to find method. Plz fix the error shown in the message window." In the message window appears: "\lcl\Forms.pp(49,23) Error: unit not found: CustApp" Well... where shoud I setup the search path in Lazarus? I am able to compile Lazarus with "make" so I guess I have the path correctly for fpc. Any help is wellcome. Horacio

Reply by email

Mattias Gaertner
to Horacio Jamilis: � I have a problem with Lazarus on Win32 (fpc 1.0.10 cvs and todays Lazarus cvs). �…
Show quoted text 17 lines
Hi, I have a problem with Lazarus on Win32 (fpc 1.0.10 cvs and todays Lazarus cvs). When lazarus starts It creates a new project with a new form. In the form I put a button, then I doble click the button (to get the ButtonClick event method) to fill in the button click code. Then I get the next dialog error:"Error in TDEFAULTCOMPONENTEDITOR" "The component editor of class "TDEFAULTCOMPONENTEDITOR"has created the error:"Unable to find method. Plz fix the error shown in the message window." In the message window appears: "\lcl\Forms.pp(49,23) Error: unit not found: CustApp" Well... where shoud I setup the search path in Lazarus?

CustApp belongs to the FCL, which is part of the FPC sources. Please make sure your FPC source directory is set in the environment options. The rest should work automatically. If not, then maybe there is a win32 special I didn't know. Just mail.

I am able to compile Lazarus with "make" so I guess I have the path correctly for fpc.

"make" needs only the compiled units, not the soures.

Mattias

Reply by email