Sign in Join

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

Mailing lists / lazarus / 2003-02

Components for Kylix 2

6 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Mattias Gaertner
to Unknown author: Thanks to all. You were fast. :) (And sorry for that I'm slow. I'm not, but I use my…
Hi !! I have some components for kylix 2, and I want to transform for lazarus, are there any diference in the components???

Basically lazarus is nearer to Delphi than to Kylix. For example, most LCL (Lazarus Class Library) units have the same names as the VCL counterparts. The LCL under Linux currently only runs on gtk, while Kylix uses qt. Also lazarus still lacks a package system. I will implement it after the online help.

Mattias

Reply by email

Unknown author

Thanks to all. You were fast. :)
(And sorry for that I'm slow. I'm not, but I use my friend SMTP, it does not rely my letters and he is not at home. )

But now it sais No INTERFACES unit.
After reading FAQ (not the first time :) I realized fpc.cfg has been deleted before. I made a new one with samplecfg script and added the -Fu/root/lazarus/lazarus/lcl
...
(4 item)
fpc.cfg is in /etc dir.

My config in lazarus:
Environment Options / Files
Lazarus directory (defaults for all projects)
/temp

Compiler path (ppc386)
/usr/bin/ppc386

FPC source directory
/usr/lib/fpc/1.0.7/units/linux

run / compiler options / search paths
Other unit files...
$(LazarusDir)/lcl/units;$(LazarusDir)/lcl/units/$(LCLWidgetType)

Include files
<empty>

Other sources
$(LazarusDir)/lcl;$(LazarusDir)/lcl/interfaces/$(LCLWidgetType)

Libraries
<empty>

Path to compiler
$(CompPath)
-----------------

1: Any idea?

2: If I make a project and it is located in /root/Projects/1/p1 I have to write this path somewhere? If yes, where?

Sorry for stupid questions but I'd liket to write some code in lazarus at least. :)

Reply by email

Mattias Gaertner
to Unknown author
Ok, I see... How many icons do you need...????

Is this a trick question?
One for each component you want to see in the IDE.

Mattias

Show quoted text 40 lines
I will send you tomorrow... Tks... Bruno Chavez... On Wed, 2003-02-19 at 13:56, Mattias Gaertner wrote: > On 19 Feb 2003 13:34:40 -0600 > Bruno Alejandro wrote: > > > Hi !! > > > > I have some components for kylix 2, and I want to transform for > > lazarus, are there any diference in the components??? > > Basically lazarus is nearer to Delphi than to Kylix. For example, most > LCL(Lazarus Class Library) units have the same names as the VCL > counterparts. The LCL under Linux currently only runs on gtk, while > Kylix uses qt. Also lazarus still lacks a package system. I will > implement it after the online help. > > > 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: Thanks to all. You were fast. :) (And sorry for that I'm slow. I'm not, but I use my…

Ok, I see...

How many icons do you need...????

I will send you tomorrow...

Tks...

Bruno Chavez...

Mattias Gaertner wrote 22 lines
On 19 Feb 2003 13:34:40 -0600 Bruno Alejandro wrote: > Hi !! > > I have some components for kylix 2, and I want to transform for lazarus, > are there any diference in the components??? Basically lazarus is nearer to Delphi than to Kylix. For example, most LCL (Lazarus Class Library) units have the same names as the VCL counterparts. The LCL under Linux currently only runs on gtk, while Kylix uses qt. Also lazarus still lacks a package system. I will implement it after the online help. Mattias _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Mattias Gaertner
to Unknown author: Thanks to all. You were fast. :) (And sorry for that I'm slow. I'm not, but I use my…
Show quoted text 6 lines
Thanks to all. You were fast. :) (And sorry for that I'm slow. I'm not, but I use my friend SMTP, it does not rely my letters and he is not at home. ) But now it sais No INTERFACES unit.

Probably because of the bug in fpc.cfg. See below.

After reading FAQ (not the first time :) I realized fpc.cfg has been deleted before. I made a new one with samplecfg script and added the -Fu/root/lazarus/lazarus/lcl

Never do that. It contains uncompiled sources. If you want, you can add

-Fu/root/lazarus/lazarus/lcl/units
and
-Fu/root/lazarus/lazarus/lcl/units/gtk

which contain the compiled sources. But it is not necessary.

Show quoted text 8 lines
... (4 item) fpc.cfg is in /etc dir. My config in lazarus: Environment Options / Files Lazarus directory (defaults for all projects) /temp

Probably wrong. It should point to lazarus directory, which contains directories like lcl, components, examples, designer, ... .

Show quoted text 5 lines
Compiler path (ppc386) /usr/bin/ppc386 FPC source directory /usr/lib/fpc/1.0.7/units/linux

Probably wrong. The FPC source directory is the freepascal source directory. It contains directories like compiler, rtl, fcl, packages, docs, ... . Plz download the latest lazarus source from
ftp://ftp.us.freepascal.org/pub/lazarus/lazaruslinux.tar.gz. You can unpack it whereever you want, even somewhere in you home directory as normal user. Lazarus does not need to be installed as root.
It will contain the latest <lazarusdir>/docs/INSTALL text, which should explain a few things. Eventually it will go to the website.

Show quoted text 24 lines
run / compiler options / search paths Other unit files... $(LazarusDir)/lcl/units;$(LazarusDir)/lcl/units/$(LCLWidgetType) Include files <empty> Other sources $(LazarusDir)/lcl;$(LazarusDir)/lcl/interfaces/$(LCLWidgetType) Libraries <empty> Path to compiler $(CompPath) ----------------- 1: Any idea? 2: If I make a project and it is located in /root/Projects/1/p1 I have to write this path somewhere? If yes, where? Sorry for stupid questions but I'd liket to write some code in lazarus at least. :)

I checked the downloads section on the website and found many bugs and ambigious descriptions. When Michael is back, he will fix it. I will add some dialogs to the IDE, that will warn and help newbies. The installation is quite straight, but it seems that the descriptions are not clear enough.

Mattias

Reply by email