Sign in Join

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

Mailing lists / fpc-pascal / 2008-02

a call on 64-bit testing of fpGUI

21 messages · 8 people · –

Reply by email Subscribe to this list Your subscription

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

Graeme Geldenhuys

Hi,

I've recently made some changes to fpGUI (subversion trunk revision). It now compiles successfully on Linux/x84_64 using FPC 2.2.0. This includes the example applications included with fpGUI (example the UI Designer).

I unfortunately don't own a 64-bit PC and the remote server I have access to doesn't run a GUI, so can't actually execute any of the compiled applications. :-(

Could anybody willing, please give it a try and let me know if there are any issues?

I'm not sure what 64-bit platforms FPC supports though. fpGUI has been tested on 32-bit Linux, Windows and FreeBSD. I would now like to test on those same platforms, but for 64-bit.

I would really appreciate you help and feedback. Many thanks in advance.

Regards,
- Graeme -

_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

Michael Van Canneyt
to Graeme Geldenhuys
Graeme Geldenhuys wrote 19 lines
Hi, I've recently made some changes to fpGUI (subversion trunk revision). It now compiles successfully on Linux/x84_64 using FPC 2.2.0. This includes the example applications included with fpGUI (example the UI Designer). I unfortunately don't own a 64-bit PC and the remote server I have access to doesn't run a GUI, so can't actually execute any of the compiled applications. :-( Could anybody willing, please give it a try and let me know if there are any issues? I'm not sure what 64-bit platforms FPC supports though. fpGUI has been tested on 32-bit Linux, Windows and FreeBSD. I would now like to test on those same platforms, but for 64-bit. I would really appreciate you help and feedback. Many thanks in advance.

Tested and ran menu example without a glitch.
Anything else you want to see tested explicitly ?

Great job, Graeme !!

Michael.

Show quoted text 12 lines
Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal
ik
to Graeme Geldenhuys: I've recently made some changes to fpGUI (subversion trunk revision). It now compiles…

Hi

I've tested every example existed.

Two issues:

1. It seems that label does not have the color property, at least FPC does not find it.
2. Font select is compiled but I have a sig serv on procedure TMainForm.CreateFontList;

Other then that, thinks works really great

You've made a really great job :)

Ido

Graeme Geldenhuys wrote 31 lines
Hi, I've recently made some changes to fpGUI (subversion trunk revision). It now compiles successfully on Linux/x84_64 using FPC 2.2.0. This includes the example applications included with fpGUI (example the UI Designer). I unfortunately don't own a 64-bit PC and the remote server I have access to doesn't run a GUI, so can't actually execute any of the compiled applications. :-( Could anybody willing, please give it a try and let me know if there are any issues? I'm not sure what 64-bit platforms FPC supports though. fpGUI has been tested on 32-bit Linux, Windows and FreeBSD. I would now like to test on those same platforms, but for 64-bit. I would really appreciate you help and feedback. Many thanks in advance. Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Michael Van Canneyt
to ik
ik wrote 10 lines
Hi I've tested every example existed. Two issues: 1. It seems that label does not have the color property, at least FPC does not find it. 2. Font select is compiled but I have a sig serv on procedure TMainForm.CreateFontList;

This second one works just fine for me ?

Michael.

Graeme Geldenhuys
to ik: Hi I've tested every example existed. Two issues: 1. It seems that label does not have…
ik wrote
1. It seems that label does not have the color property, at least FPC does not find it.

TfpgLabel as a TextColor and BackgroundColor property. Is that what you were looking for?

2. Font select is compiled but I have a sig serv on procedure TMainForm.CreateFontList;

Could you email the exact error or even a backtrace if possible please.

Thanks for your time and testing it for me Ido.

Regards,
- Graeme -

_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

Graeme Geldenhuys
to Michael Van Canneyt: Tested and ran menu example without a glitch. Anything else you want to see tested…
Michael Van Canneyt wrote
Tested and ran menu example without a glitch. Anything else you want to see tested explicitly ?

Thanks Michael. No there wasn't anything specific. I simply wanted it tested on as many platforms and systems possible. One can never be to sure. :)

Regards,
- Graeme -

_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

Giuliano Colla
to Graeme Geldenhuys: TfpgLabel as a TextColor and BackgroundColor property. Is that what you were looking for?

Graeme Geldenhuys ha scritto:

Show quoted text 12 lines
On 01/02/2008, ik wrote: > 1. It seems that label does not have the color property, at least FPC > does not find it. TfpgLabel as a TextColor and BackgroundColor property. Is that what you were looking for? > 2. Font select is compiled but I have a sig serv on procedure > TMainForm.CreateFontList; Could you email the exact error or even a backtrace if possible please.

I seem to recall that I had a similar problem (on a 32 bit platform) just because I didn't have an arial font of any kind installed. I replaced default font names with generic Serif and Sans, and I forgot about the problem.
Maybe it's unrelated, but just in case.

Giuliano

Giuliano Colla Whenever people agree with me, I always feel I must be wrong (O. Wilde)
Graeme Geldenhuys
to Giuliano Colla
Giuliano Colla wrote 6 lines
I seem to recall that I had a similar problem (on a 32 bit platform) just because I didn't have an arial font of any kind installed. I replaced default font names with generic Serif and Sans, and I forgot about the problem. Maybe it's unrelated, but just in case.

Ah, I think you might be on to something there. I always install the free Microsoft Core Web Fonts - most websites look so much better with them. I'll do some testing in that area. Thanks for the tip.

Regards,
- Graeme -

_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

ik
to Graeme Geldenhuys: TfpgLabel as a TextColor and BackgroundColor property. Is that what you were looking for?
Graeme Geldenhuys wrote 7 lines
On 01/02/2008, ik wrote: > > 1. It seems that label does not have the color property, at least FPC > does not find it. TfpgLabel as a TextColor and BackgroundColor property. Is that what you were looking for?
Well The code states (for example in alignment) lblNone.Color :=
clWhite; So that's a "bug" in the example :)
Show quoted text 21 lines
> 2. Font select is compiled but I have a sig serv on procedure > TMainForm.CreateFontList; Could you email the exact error or even a backtrace if possible please. Thanks for your time and testing it for me Ido. Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Ido

Graeme Geldenhuys
to ik
ik wrote 7 lines
> > TfpgLabel as a TextColor and BackgroundColor property. Is that what > you were looking for? Well The code states (for example in alignment) lblNone.Color := clWhite; So that's a "bug" in the example :)

:-) I must have missed that one. I changed the Color property to TextColor in the last week. Now it's less ambiguous. I'll fix the example now, thanks.

Regards,
- Graeme -

_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

Graeme Geldenhuys
to ik: Hi I've tested every example existed. Two issues: 1. It seems that label does not have…
ik wrote
2. Font select is compiled but I have a sig serv on procedure TMainForm.CreateFontList;

Could you try what Giuliano suggested. Changing the default font from Arial to Sans.

gfxbase.pas line 63
    FPG_DEFAULT_FONT_DESC = 'Arial-10:antialias=true';

Though looking at your backtrace it seems to get all the way to the XftListFonts() call and fails there... I'll go read up on the parameter options again.

Regards,
- Graeme -

_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

ik
to Graeme Geldenhuys
Graeme Geldenhuys wrote 6 lines
On 01/02/2008, ik wrote: > 2. Font select is compiled but I have a sig serv on procedure > TMainForm.CreateFontList; Could you try what Giuliano suggested. Changing the default font from Arial to Sans.

I'll try, although I do have core fonts installed ...

Show quoted text 21 lines
gfxbase.pas line 63 FPG_DEFAULT_FONT_DESC = 'Arial-10:antialias=true'; Though looking at your backtrace it seems to get all the way to the XftListFonts() call and fails there... I'll go read up on the parameter options again. Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Graeme Geldenhuys
to ik
ik wrote 5 lines
On Feb 1, 2008 11:03 PM, Graeme Geldenhuys > > > Could you try what Giuliano suggested. Changing the default font from > Arial to Sans. I'll try, although I do have core fonts installed ...

That's why I am thinking it's something else to do with the XftListFonts() call. I'll test tomorrow when I booted back into Linux.

Regards,
- Graeme -

_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

Helmut Hartl
to Graeme Geldenhuys: I've recently made some changes to fpGUI (subversion trunk revision). It now compiles…
Graeme Geldenhuys wrote 8 lines
Hi, I've recently made some changes to fpGUI (subversion trunk revision). It now compiles successfully on Linux/x84_64 using FPC 2.2.0. I unfortunately don't own a 64-bit PC and the remote server I have access to doesn't run a GUI, so can't actually execute any of the compiled applications. :-(

Hello Graeme,

I can give you NX Server access to a 64 Bit CentOS Linux System runnin on Xen
in an Server Housing at least for some weeks maybe longer. You would have to use NX Client (www.nomachine.org) to get to the system.
If interested, I will create you an account - I am curios how a Remote NX Client
would perform used from South Africa here to Austria ... :-)

Contact me per Mail or Skype IM. (Skype Name is SirHelly/Austria Real Name: Helmut Hartl)

greets,

helmut

Florian Klaempfl
to Helmut Hartl
Show quoted text 15 lines
Graeme Geldenhuys wrote: > Hi, > > I've recently made some changes to fpGUI (subversion trunk revision). > It now compiles successfully on Linux/x84_64 using FPC 2.2.0. > I unfortunately don't own a 64-bit PC and the remote server I have > access to doesn't run a GUI, so can't actually execute any of the > compiled applications. :-( Hello Graeme, I can give you NX Server access to a 64 Bit CentOS Linux System runnin on Xen in an Server Housing at least for some weeks maybe longer.

Guess why I asked about the NX stuff personally how it works ;)

Helmut Hartl
to Florian Klaempfl
Florian Klaempfl wrote 15 lines
Helmut Hartl schrieb: > Graeme Geldenhuys wrote: >> Hi, >> I unfortunately don't own a 64-bit PC and the remote server I have >> access to doesn't run a GUI, so can't actually execute any of the >> compiled applications. :-( > > Hello Graeme, > > I can give you NX Server access to a 64 Bit CentOS Linux System > runnin on Xen in an Server Housing at least for some weeks maybe > longer. Guess why I asked about the NX stuff personally how it works ;)

It seems that the Sherlock Holmes in me is no the brightest one of all. :-)

I have another unused XEN Machine by now - Grame could do with the machine what ever he want's
to test his stuff - as long it's not illegal - the machine will get reformated after he is done.
I think the machine will not be used for a few months.

So you both could choose what ever variant makes you happy. ;-)

My personal interest in fpGUI comes, as i need to do a port of our (Delphi) SIP VoiP Client for
WinCE and Linux. And I am currently quite unsure what GUI Components to use ...
(Size,Speed and equal Appearance is what counts for us)

helmut

ik
to Graeme Geldenhuys: That's why I am thinking it's something else to do with the XftListFonts() call. I'll…

Hi,

It seems that you was able to solve the issue with the latest update.

Thanks

Ido

Graeme Geldenhuys wrote 23 lines
On 01/02/2008, ik wrote: > On Feb 1, 2008 11:03 PM, Graeme Geldenhuys > > > > Could you try what Giuliano suggested. Changing the default font from > > Arial to Sans. > > I'll try, although I do have core fonts installed ... That's why I am thinking it's something else to do with the XftListFonts() call. I'll test tomorrow when I booted back into Linux. Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Luca Olivetti
to Helmut Hartl: It seems that the Sherlock Holmes in me is no the brightest one of all. :-) I have…

En/na Helmut Hartl ha escrit:

Show quoted text 5 lines
My personal interest in fpGUI comes, as i need to do a port of our (Delphi) SIP VoiP Client for WinCE and Linux. And I am currently quite unsure what GUI Components to use ... (Size,Speed and equal Appearance is what counts for us)

Is that open source or propietary? If the former, I'd be interested if it's possible to compile the sip engine under linux, I don't need a gui.

Bye

Luca
Anton Tichawa
to Michael Van Canneyt: Tested and ran menu example without a glitch. Anything else you want to see tested…

Hello list!

I have problems compiling an X client. The compiler says:

Free Pascal Compiler version 2.2.0 [2007/08/31] for i386 Copyright (c) 1993-2007 by Florian Klaempfl
Target OS: Linux for i386
Compiling pas/xdemo.pas
PPU Loading /usr/local/lib/fpc/2.2.0/units/i386-linux/x11/x.ppu Recompiling x, checksum changed for ctypes
Fatal: Can't find unit x used by xdemo
Fatal: Compilation aborted
Error: /usr/local/bin/ppc386 returned an error exitcode (normal if you did not specify a source file to be compiled)

Files x and xlib are available as objects (.ppu, .o) only. Any ideas? Am I doing something wrong?

Many thanks,

Anton.

Michael Van Canneyt
to Anton Tichawa
Anton Tichawa wrote 17 lines
Hello list! I have problems compiling an X client. The compiler says: Free Pascal Compiler version 2.2.0 [2007/08/31] for i386 Copyright (c) 1993-2007 by Florian Klaempfl Target OS: Linux for i386 Compiling pas/xdemo.pas PPU Loading /usr/local/lib/fpc/2.2.0/units/i386-linux/x11/x.ppu Recompiling x, checksum changed for ctypes Fatal: Can't find unit x used by xdemo Fatal: Compilation aborted Error: /usr/local/bin/ppc386 returned an error exitcode (normal if you did not specify a source file to be compiled) Files x and xlib are available as objects (.ppu, .o) only. Any ideas? Am I doing something wrong?

Did you install a newer/different ctypes unit ? The compiler thinks you did.

Try compiling with -vu, so you can see which units are loaded.

Michael.

Anton Tichawa
to Michael Van Canneyt
Michael Van Canneyt wrote 26 lines
On Sun, 3 Feb 2008, Anton Tichawa wrote: > Hello list! > > I have problems compiling an X client. The compiler says: > > Free Pascal Compiler version 2.2.0 [2007/08/31] for i386 > Copyright (c) 1993-2007 by Florian Klaempfl > Target OS: Linux for i386 > Compiling pas/xdemo.pas > PPU Loading /usr/local/lib/fpc/2.2.0/units/i386-linux/x11/x.ppu > Recompiling x, checksum changed for ctypes > Fatal: Can't find unit x used by xdemo > Fatal: Compilation aborted > Error: /usr/local/bin/ppc386 returned an error exitcode (normal if you > did not specify a source file to be compiled) > > Files x and xlib are available as objects (.ppu, .o) only. Any ideas? Am > I doing something wrong? Did you install a newer/different ctypes unit ? The compiler thinks you did. Try compiling with -vu, so you can see which units are loaded. Michael.

In fact, I wrote a unit 'ctypes.pas', not aware that this conflicts with a system unit. Thank you!

Anton.