Sign in Join

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

Mailing lists / lazarus / 2001-04

Windows binary of Lazarus available

9 messages · 5 people ·

Reply by email Subscribe to this list Your subscription

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

Marc Weustink
to Eric Lai: is it a GTK or a lazarus coding problem?? ________________________________________________…
Eric Lai wrote
is it a GTK or a lazarus coding problem??

GTK for win32 (or maybe both if I mis something??)

The problem is that GTK fires a paint event when you draw a button (so it keeps updating itself)

According to Vincent Snijders it only happens for certain images (??). It could also be our problem since we are posting the paint messages while painting

Marc

Reply by email

Michael A. Hess
I am keep getting GTK errors in a dos prompt box after i get into LAzarus.

Are they errors or just messages? If errors what are they?

Also i can't see anything... just 3 blank forms...

Correct. Now you see why I haven't been releasing binaries for Win32 yet. This is because the SpeedButtons you do see keep repainting and taking up the whole message queue and doesn't allow other items such as the forms to repaint. Please read my email on the mailing list again for a work around to at least see what should be visible and available.

Until we can figure out the repaint issue which seems to involve XPM's to some extent it limits the usefullness of a Win32 version of the IDE.

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

Reply by email

Ronan van Riet
to Michael A. Hess: Since there was another request for a Windows binary of Lazarus I decided to build one.…

Michael,

This is great news! Will you be adding the link and some text to the Lazarus web site too?

I have just downloaded and extracted the file to c:\pp

Show quoted text 10 lines
Anyway here is the URL for the Win32 binary of Lazarus ftp://lazarus.freepascal.org/lazarus/lazarusw32.zip You can either install this right into your c:/pp directory, which will place the .exe into the c:/pp/bin/win32 directory and the units into the c:/pp/units/win32 directory, or you can unzip them into a separate Lazarus directory. If you place them into a separate directory you will then need to modify the ppc386.cfg file to include the search path for units to this new location.

What do I do after this? When I try and run lazarus.exe I get a dll gdk-1.3.dll could not be found.
Is this something I need to download? Where?

Kind regards,

Ronan van Riet

Reply by email

Vincent Snijders
to Michael A. Hess: Since there was another request for a Windows binary of Lazarus I decided to build one.…
Please report any feedback or fixes you might come up with. --

I want to refer back to my mails of 10th feb and 11th feb of this year. I posted a patch to main.pp. The result of that patch was that the IDE worked, but did not have all the speedbuttons with the right bitmap.

It seemed that only some xpm's caused the redrawing problem en by replacing those xpm's by the tedit component xpm redrawing could be prevented. I didn't look into it further by then, hoping it was enough of a hint for someone to pick up and take a further look.

I don't know enough of the xpm-format to see why for example the viewunits en viewforms bitmap is faulty and the tedit bitmap isn't.

Hope this helps,
Vincent Snijders.

Reply by email

Michael A. Hess
to Michael A. Hess: Since there was another request for a Windows binary of Lazarus I decided to build one.…
Ronan van Riet wrote
This is great news! Will you be adding the link and some text to the Lazarus web site too?

I could do nightly builds but until the repaint issue is resolved I don't see much of a point. But I suppose I could just start doing it anyway. :-\

What do I do after this? When I try and run lazarus.exe I get a dll gdk-1.3.dll could not be found. Is this something I need to download? Where?

You need to have the GTK DLL's installed. You can get them here.

ftp://lazarus.freepascal.org/lazarus/gtk-dlls.zip

Unzip this to either the directory of the Lazarus.exe file or put them in your /windows/system directory.

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

Reply by email

Michael A. Hess

Greetings,

Since there was another request for a Windows binary of Lazarus I decided to build one. It STILL has the problem with the repainting of the SpeedButtons. This takes a large portion of the processing time and resources since it repaints these images over and over again.

However there is a trick you can use to at least see some of Lazarus working. The simple trick is to cover the SpeedButtons with another window. This will at least free up some of the processing to allow the other windows, menu bar, etc. to paint. This of course limits what you can do with the IDE but it does show that the IDE would indeed be working if we could get around the repaint issue. It appears as though it is something that is incorrect in the Win32 implementation of GTK+. Maybe someone can take the binary and do some debug tracing to determine where this problem occurs. If we could just get someone to work on that and find that problem a Win32 version of Lazarus would be usable (as much as it is completed of course).

When running the IDE take another window either the DOS window that is opened or a Notepad window or something like that and make sure it covers all of the SpeedButtons. Then just cause some refresh requests on the other windows by bringing windows in front and then moving them behind a given window the other windows of the IDE will eventually get some cycles to paint.

Anyway here is the URL for the Win32 binary of Lazarus

ftp://lazarus.freepascal.org/lazarus/lazarusw32.zip

You can either install this right into your c:/pp directory, which will place the .exe into the c:/pp/bin/win32 directory and the units into the c:/pp/units/win32 directory, or you can unzip them into a separate Lazarus directory. If you place them into a separate directory you will then need to modify the ppc386.cfg file to include the search path for units to this new location.

Please report any feedback or fixes you might come up with.

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

Reply by email

Eric Lai

I am keep getting GTK errors in a dos prompt box after i get into LAzarus. Also i can't see anything... just 3 blank forms... _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Reply by email