Recent

Author Topic: fpgui problems  (Read 4999 times)

lazer

  • Full Member
  • ***
  • Posts: 215
fpgui problems
« on: October 10, 2017, 10:18:01 am »
Hi,

Having managed to cross compile for win64 using gkt2 widget set , the resulting exe failed to get off the ground.

I installed gtk2 on the target system but when I ran my exe I just got a banal error box that "it failed to start correctly". Which has to be the most useless indication of what is wrong. I guess that is the kind of reason why I use linux instead of windoze.

So I decided to use fpgui which should produce a totally self-contained exe which is more consistently cross-platform.

I grabbed the latest source from http://wiki.lazarus.freepascal.org/fpGUI

This fails to build because it is missing lhelpcrontrols 

This is allegedly in the lazarus source tree but I don't find a package file as described here:
https://forums.opensuse.org/showthread.php/467141-Lazarus-can-t-install-help-files

That is rather old , so can anyone say how to get this running. I was not expecting to have to go on another paper chase. I thought the fpgui was built in to Lazarus. Why does it not build directly?

Thanks for any help.

Ñuño_Martínez

  • Hero Member
  • *****
  • Posts: 1186
    • Burdjia
Re: fpgui problems
« Reply #1 on: October 10, 2017, 11:21:06 am »
If I read correctly, you're rebuilding your project using fpgui, but it was originally designed to use GTK+, isn't it?

As far as I know, LCL with fpgui isn't complete.  I mean, not all LCL components are available or work with fpgui.  Also fpgui has its own GUI designer, you should use it instead of Lazarus'.
Are you interested in game programming? Join the Pascal Game Development community!
Also visit the Game Development Portal

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11452
  • FPC developer.
Re: fpgui problems
« Reply #2 on: October 10, 2017, 07:30:41 pm »
If you look at the svn log than you see the last non general modifcation is april 2015. The one before that march 2013.

Doesn't seem that lcl-fpgui gets too much love.

Graeme

  • Hero Member
  • *****
  • Posts: 1428
    • Graeme on the web
Re: fpgui problems
« Reply #3 on: October 12, 2017, 05:56:15 pm »
Doesn't seem that lcl-fpgui gets too much love.

No it doesn't - it is in need of a maintainer that can complete the missing parts (TLabel being the biggest cause of problems). I recommend using fpGUI directly without the  need of LCL.
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

benohb

  • Full Member
  • ***
  • Posts: 213
Re: fpgui problems
« Reply #4 on: October 13, 2017, 12:20:24 am »
I think QT  better in cross

Graeme

  • Hero Member
  • *****
  • Posts: 1428
    • Graeme on the web
Re: fpgui problems
« Reply #5 on: October 13, 2017, 12:28:50 am »
I think QT  better in cross

Maybe for usage with LCL yes. But then you have to contend with shipping multi Megabytes of DLL's with every little application you create and deploy. No more small apps. No more simple deployment. fpGUI is 100% cross-platform and no external support DLL's are required.

The LCL-fpGUI will be a huge improvement to LCL in general (once someone completes the implementation), as it will be the only LCL widgetset with no external support DLL's, bug fixes in LCL or the toolkit can be applied and shipped immediately (no need to wait for a Windows update or new Qt release), and it will be the most consistent across all platforms.
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

Graeme

  • Hero Member
  • *****
  • Posts: 1428
    • Graeme on the web
Re: fpgui problems
« Reply #6 on: October 13, 2017, 12:33:34 am »
I thought the fpgui was built in to Lazarus. Why does it not build directly?
The LCL-fpGUI widgetset is not fully implemented yet. Many Windows centric API's are not implemented yet, and TLabel (which is amazingly complicated in LCL) is not yet implemented and causes a runtime crash when used in a application. Many other parts or components are working though. It just needs a maintainer that knows LCL (better than I) to implement the remaining bits. I rather spend my time improving the actual "pure" fpGUI Toolkit.
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

benohb

  • Full Member
  • ***
  • Posts: 213
Re: fpgui problems
« Reply #7 on: October 13, 2017, 11:06:26 pm »
@Graeme FP-GUI Very cool and I use it in my projects  ::)
I think it's the only thing I've relied on in linux .even in other platforms
Because the Widget qt-gtk in Linux has become unbearable (frequent updates ABI-API Break Every few months)
I  trying to add languages RTL to fpgui - :D

I trying collecting information about wayland in linux

I hope that the project will continue and progress and remains simple and beautiful code

Graeme

  • Hero Member
  • *****
  • Posts: 1428
    • Graeme on the web
Re: fpgui problems
« Reply #8 on: October 13, 2017, 11:24:09 pm »
@Graeme FP-GUI Very cool and I use it in my projects  ::)
Thanks for using it, and I'm glad you are finding it useful.

Quote
I hope that the project will continue and progress and remains simple and beautiful code
That's the plan!  :-)
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

 

TinyPortal © 2005-2018