[Lazarus] TListView compatibility Delphi <=> Lazarus?

Bernd prof7bit at googlemail.com
Tue Oct 26 13:51:27 CEST 2010


2010/10/25 Bo Berglund <bo.berglund at gmail.com>:
> On Mon, 18 Oct 2010 14:32:59 +0200, Bernd Kreuss
> <prof7bit at googlemail.com> wrote:

> I had hoped SVN could work on port 80 since it uses http style
> locators, but apparently it does not work that way.

Then all you can do is download the

ftp://ftp.freepascal.org/pub/lazarus/snapshots/lazarus-0.9.29-xxxxx-yyyyyyyy-src.zip

unzip it to somewhere (no matter where) and then (*if* you have
already a working standalone FPC installed (which will on windows also
provide you with make and the other needed tools in your path)) open a
command line in this folder and

make bigide

this will give you lazarus.exe (or the lazarus executable on linux)
directly at the base of this folder and you can run it directly from
within this folder.

The only pitfall is that Lazarus will later also want to see the FPC
sources for code completion etc. to work. If you previously installed
a binary installer of FPC you also have to download the same FPC
version as source code archive and unzip it to somewhere. You don't
need to compile FPC itself, you just need a folder with the FPC
sources of the same version somewhere on your harddisk so Lazarus can
lookup all the RTL and FCL units for its code completion features.

After you started the freshly compiled Lazarus for the first time go
to environment->options->files and set the following paths or make
sure they are correct:

* path to the lazarus folder (where you just unzipped and compiled Lazarus)
* path to the fpc binary
* path to the fpc source folder

After this everything should work.

And its basically the same procedure on other platforms too. First
make sure you have a working FPC that can be used from the command
line (pay attention to the version number it reports, in case you have
experimented with multiple versions already on this machine) and that
can compile a simple hello world program from the command line without
errors and then proceed with the steps mentioned above and they should
just work out of the box.

If you have done it a few times it is really easy and loses all its
perceived complexity.

Bernd




More information about the Lazarus mailing list