[Lazarus] Installing Lazarus on Windows, my own experiences

Michael Van Canneyt michael at freepascal.org
Thu Jul 29 20:58:02 CEST 2010



On Thu, 29 Jul 2010, Juha Manninen wrote:

> I booted Windows XP on a mini-laptop. It is practically non-touched since I bought the machine. I installed and used Linux since then.
> For the first time I downloaded and installed the official Lazarus Windows installer. It goes smootly, SourceForge offers you a Download Now link and the
> installation is easy like in other Windows programs. I accepted the defaults for everything.
> 
> Then I copied my own source under a new C:\SW directory, just like I told my friend to do earlier.
> I just created the directories so I must have write access for them, right?
> 
> I open my project. There is a stream error about an unknown property TForm1.Anchors because I used the latest delelopment version for making the prog. I choose
> Continue Loading and it opens without problems.
> Then I try to run it and get the errors below. I don't have any spaces in paths. I really don't know what is wrong.
> Are you people really saying the default installation is OK?

Yes.

I'm sorry to say, but it is your own fault that it fails.

You should never use the released version of Lazarus to compile a program developed in the latest (SVN) version.
That can never work. (the unknown property should already have given you a clue, actually).

One of the reasons is that the streaming system has changed, and this is why you get the error:

> Compiling resource C:\SW\jorma\unit1.lfm
> windres: can't open file `TForm1': No such file or directory

This is where you get an error related to streaming (windres is used to compile resources)

Michael.




More information about the Lazarus mailing list