Sign in Join

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

Mailing lists / lazarus / 2001-06

lcl

10 messages · 8 people ·

Reply by email Subscribe to this list Your subscription

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

Michal Bukovjan
to Chris Bruner Compulife: Is the Lazarus Component Library (I'm assuming it's called that LCL for short) compatible…

Hello,

to some extent, the code is compatible. But the LCL as well as Lazarus is in alpha state right now so for a serious work, I would definitely recommend not to use Lazarus at this time...

Michal

Chris Bruner Compulife wrote 16 lines
Is the Lazarus Component Library (I'm assuming it's called that LCL for short) compatible with Delphi and Kylix? I'm interested because I'm trying to port some code from windows to Linux, and would rather port once then twice. The code is graphical in nature and I would like it to work under gtk. Cheers, Chris _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Marco van de Voort
to Michal Bukovjan
Show quoted text 5 lines
Hello, to some extent, the code is compatible. But the LCL as well as Lazarus is in alpha state right now so for a serious work, I would definitely recommend not to use Lazarus at this time...

I do not agree. If you can't do it with Kylix, FPC is often an easier path than adapting Kylix.

Reply by email

Ronan van Riet
to Marco van de Voort

Well?

Earlier message 59 lines
----- Original Message ----- From: "Ronan van Riet" To: Sent: Wednesday, June 06, 2001 10:34 AM Subject: Re: [lazarus] lcl > Hi, > > As a matter of interest how up-to-date are FCL and LCL component lists > (http://www.lazarus.freepascal.org/status.php3?&language=english) ? > > Kind regards, > Ronan van Riet > > > > ----- Original Message ----- > From: "Michal Bukovjan" > To: > Sent: Wednesday, June 06, 2001 3:44 AM > Subject: Re: [lazarus] lcl > > > > For non-visual stuff, yes. But for visual stuff, I don't think the LCL > > code is ready for production :-( > > > > Michal > > > > Marco van de Voort wrote: > > > > >>Hello, > > >> > > >>to some extent, the code is compatible. But the LCL as well as Lazarus > > >>is in alpha state right now so for a serious work, I would definitely > > >>recommend not to use Lazarus at this time... > > >> > > > > > >I do not agree. If you can't do it with Kylix, FPC is often an easier > path > > >than adapting Kylix. > > > > > >_________________________________________________________________ > > > To unsubscribe: mail with > > > "unsubscribe" as the Subject > > > archives at http://www.miraclec.com/list_archives/lazarus > > > > > > > > > > > _________________________________________________________________ > > To unsubscribe: mail with > > "unsubscribe" as the Subject > > archives at http://www.miraclec.com/list_archives/lazarus > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Mattias Gaertner
to Marco van de Voort: I do not agree. If you can't do it with Kylix, FPC is often an easier path than adapting…
Robert Young wrote 11 lines
I am just trying out lazarus and I was trying to build the project from source. I am using Redhat 7.1 with the latest Ximain updates. after typing make I get make --assume-new=interfaces.pp interfaces.ppu make[4]: Entering directory `/home/rob/lazarus/lazarus/lcl/interfaces/gtk' ppc386 -Ca -gl -Fu../../units/gtk -Fu../../units -Fu/usr/lib/fpc/1.0.4/units/linux/rtl

You need fpc 1.0.5.
You can try the rpm from the lazarus website.

Mattias

Show quoted text 47 lines
-Fu/usr/lib/fpc/1.0.4/units/linux/fcl -Fu/usr/lib/fpc/1.0.4/units/linux -Fi. -FU../../units/gtk -di386 interfaces.pp Free Pascal Compiler version 1.0.4 [2000/12/18] for i386 Copyright (c) 1993-2000 by Florian Klaempfl Target OS: Linux for i386 Compiling interfaces.pp Compiling interfaces.pp Compiling interfaces.pp Compiling interfaces.pp Compiling gtkint.pp gtkint.pp(114,7) Warning: An inherited method is hidden by TGTKOBJECT.CREATERECTRGN gtkint.pp(114,7) Warning: An inherited method is hidden by TGTKOBJECT.PEEKMESSAGE gtkint.pp(114,7) Warning: An inherited method is hidden by TGTKOBJECT.SETWINDOWLONG gtkproc.inc(134,49) Error: Incompatible type for arg no. 3: Got Array Of LONGINT, expected Array Of CHAR gtkproc.inc(135,49) Error: Incompatible type for arg no. 3: Got Array Of LONGINT, expected Array Of CHAR gtkproc.inc(136,49) Error: Incompatible type for arg no. 3: Got Array Of LONGINT, expected Array Of CHAR gtkproc.inc(137,49) Error: Incompatible type for arg no. 3: Got Array Of LONGINT, expected Array Of CHAR gtkproc.inc(138,49) Error: Incompatible type for arg no. 3: Got Array Of LONGINT, expected Array Of CHAR gtkwinapi.inc(2249,1) Warning: Function result does not seem to be set gtkwinapi.inc(3314,21) Warning: Comment level 2 found gtkwinapi.inc(3316,17) Warning: Comment level 2 found gtkint.pp(617) Fatal: There were 5 errors compiling module, stopping make[4]: Leaving directory `/home/rob/lazarus/lazarus/lcl/interfaces/gtk' make[3]: Leaving directory `/home/rob/lazarus/lazarus/lcl/interfaces/gtk' make[2]: Leaving directory `/home/rob/lazarus/lazarus/lcl/interfaces' make[1]: Leaving directory `/home/rob/lazarus/lazarus/lcl' Am I doing something really dumb or is the current code not compatible with my machine? Rob _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Michal Bukovjan
to Marco van de Voort: I do not agree. If you can't do it with Kylix, FPC is often an easier path than adapting…

For non-visual stuff, yes. But for visual stuff, I don't think the LCL code is ready for production :-(

Michal

Marco van de Voort wrote 15 lines
>Hello, > >to some extent, the code is compatible. But the LCL as well as Lazarus >is in alpha state right now so for a serious work, I would definitely >recommend not to use Lazarus at this time... > I do not agree. If you can't do it with Kylix, FPC is often an easier path than adapting Kylix. _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Chris Bruner Compulife

Is the Lazarus Component Library (I'm assuming it's called that LCL for short) compatible with Delphi and Kylix? I'm interested because I'm trying to port some code from windows to Linux, and would rather port once then twice. The code is graphical in nature and I would like it to work under gtk.

Cheers,

Chris

Reply by email

Ronan van Riet
to Marco van de Voort: I do not agree. If you can't do it with Kylix, FPC is often an easier path than adapting…

Hi,

As a matter of interest how up-to-date are FCL and LCL component lists (http://www.lazarus.freepascal.org/status.php3?&language=english) ?

Kind regards,
Ronan van Riet

Earlier message 37 lines
----- Original Message ----- From: "Michal Bukovjan" To: Sent: Wednesday, June 06, 2001 3:44 AM Subject: Re: [lazarus] lcl > For non-visual stuff, yes. But for visual stuff, I don't think the LCL > code is ready for production :-( > > Michal > > Marco van de Voort wrote: > > >>Hello, > >> > >>to some extent, the code is compatible. But the LCL as well as Lazarus > >>is in alpha state right now so for a serious work, I would definitely > >>recommend not to use Lazarus at this time... > >> > > > >I do not agree. If you can't do it with Kylix, FPC is often an easier path > >than adapting Kylix. > > > >_________________________________________________________________ > > To unsubscribe: mail with > > "unsubscribe" as the Subject > > archives at http://www.miraclec.com/list_archives/lazarus > > > > > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Robert Young
to Marco van de Voort: I do not agree. If you can't do it with Kylix, FPC is often an easier path than adapting…

I am just trying out lazarus and I was trying to build the project from source.

I am using Redhat 7.1 with the latest Ximain updates.

after typing make I get

make --assume-new=interfaces.pp interfaces.ppu
make[4]: Entering directory `/home/rob/lazarus/lazarus/lcl/interfaces/gtk' ppc386 -Ca -gl -Fu../../units/gtk -Fu../../units
-Fu/usr/lib/fpc/1.0.4/units/linux/rtl
-Fu/usr/lib/fpc/1.0.4/units/linux/fcl -Fu/usr/lib/fpc/1.0.4/units/linux -Fi. -FU../../units/gtk -di386 interfaces.pp
Free Pascal Compiler version 1.0.4 [2000/12/18] for i386 Copyright (c) 1993-2000 by Florian Klaempfl
Target OS: Linux for i386
Compiling interfaces.pp
Compiling interfaces.pp
Compiling interfaces.pp
Compiling interfaces.pp
Compiling gtkint.pp
gtkint.pp(114,7) Warning: An inherited method is hidden by TGTKOBJECT.CREATERECTRGN
gtkint.pp(114,7) Warning: An inherited method is hidden by TGTKOBJECT.PEEKMESSAGE
gtkint.pp(114,7) Warning: An inherited method is hidden by TGTKOBJECT.SETWINDOWLONG
gtkproc.inc(134,49) Error: Incompatible type for arg no. 3: Got Array Of LONGINT, expected Array Of CHAR
gtkproc.inc(135,49) Error: Incompatible type for arg no. 3: Got Array Of LONGINT, expected Array Of CHAR
gtkproc.inc(136,49) Error: Incompatible type for arg no. 3: Got Array Of LONGINT, expected Array Of CHAR
gtkproc.inc(137,49) Error: Incompatible type for arg no. 3: Got Array Of LONGINT, expected Array Of CHAR
gtkproc.inc(138,49) Error: Incompatible type for arg no. 3: Got Array Of LONGINT, expected Array Of CHAR
gtkwinapi.inc(2249,1) Warning: Function result does not seem to be set gtkwinapi.inc(3314,21) Warning: Comment level 2 found gtkwinapi.inc(3316,17) Warning: Comment level 2 found gtkint.pp(617) Fatal: There were 5 errors compiling module, stopping make[4]: Leaving directory `/home/rob/lazarus/lazarus/lcl/interfaces/gtk' make[3]: Leaving directory `/home/rob/lazarus/lazarus/lcl/interfaces/gtk' make[2]: Leaving directory `/home/rob/lazarus/lazarus/lcl/interfaces' make[1]: Leaving directory `/home/rob/lazarus/lazarus/lcl'

Am I doing something really dumb or is the current code not compatible with my machine?

Rob

Reply by email

Shane Miller

They are not vbery up to date. A few weeks ago I sent in an update but it wasn't vbery detailed. Most controls are coded but out underlying code for GTK is problematic.

Shane

>> 06/11/01 03:58AM >>>

Well?

Earlier message 64 lines
----- Original Message ----- From: "Ronan van Riet" To: Sent: Wednesday, June 06, 2001 10:34 AM Subject: Re: [lazarus] lcl > Hi, > > As a matter of interest how up-to-date are FCL and LCL component lists > (http://www.lazarus.freepascal.org/status.php3?&language=english) ? > > Kind regards, > Ronan van Riet > > > > ----- Original Message ----- > From: "Michal Bukovjan" > To: > Sent: Wednesday, June 06, 2001 3:44 AM > Subject: Re: [lazarus] lcl > > > > For non-visual stuff, yes. But for visual stuff, I don't think the LCL > > code is ready for production :-( > > > > Michal > > > > Marco van de Voort wrote: > > > > >>Hello, > > >> > > >>to some extent, the code is compatible. But the LCL as well as Lazarus > > >>is in alpha state right now so for a serious work, I would definitely > > >>recommend not to use Lazarus at this time... > > >> > > > > > >I do not agree. If you can't do it with Kylix, FPC is often an easier > path > > >than adapting Kylix. > > > > > >_________________________________________________________________ > > > To unsubscribe: mail with > > > "unsubscribe" as the Subject > > > archives at http://www.miraclec.com/list_archives/lazarus > > > > > > > > > > > _________________________________________________________________ > > To unsubscribe: mail with > > "unsubscribe" as the Subject > > archives at http://www.miraclec.com/list_archives/lazarus > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Michael A. Hess
to Marco van de Voort: I do not agree. If you can't do it with Kylix, FPC is often an easier path than adapting…
Ronan van Riet wrote
As a matter of interest how up-to-date are FCL and LCL component lists (http://www.lazarus.freepascal.org/status.php3?&language=english) ?

It is and it isn't.

It is fairly up todate for those components listed. However, this list of required components was made a long time ago based on the existing list of components found in Delphi. The problem is that the LCL diverges somewhat so that there are other components and classes required that aren't found in Delphi but are in the LCL. What input I do get is from the LCL team but not the FCL team and I haven't looked at the FCL for a long time to determine what components do and do not exist there.

To get a better idea of what components (classes) do exist for the LCL you should look at the documentation which is built nightly. The documentation isn't very complete as far as definitions go but it does give the whole layout of the existing classes and their relationships.

http://www.lazarus.freepascal.org/lcl_doc/allclass.html

==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com

Reply by email