[fpc-pascal] What to do to get new users

James Richters james.richters at productionautomation.net
Mon Dec 2 01:44:33 CET 2024


Hi Graeme, 
I know how those things can get away from you, I recently saw a memory photo
on Facebook from 2008, the photo taken in my kitchen and it shows a missing
piece of molding that belongs on the left side of my oven.... and it's 2024
now, and that dang thing is STILL not installed... it's sitting right over
there ---> and I'll be lucky if it takes me more than 5 minutes to
permanently install it!  Uggg @ time!

I managed to figure fpGUI out... Basically rediscovering the issue and how
to fix it, only to discover later that it indeed was already fixed!  But I'm
glad I went through the exercise, because now I have a forked repo of fpGUI,
and a little better idea what's going on.  

The main issue I faced is that I was using 1.4.1 from SourceForge, and
didn't even think to go look at it on GitHub... So I think it would help a
LOT of potential users would benefit if you could update the download on
SourceForge.  If I had started out on GitHub, I would have probably seen the
Maint branch and tried that, instead of spending a few days downloading FPC
and trying all kinds of compiler options.

I've got the fpGUI examples working and had a look at how some of them work,
and It's very impressive!  I've made a few GDI windows with my Freepascal
programs before, but they are clumsy and hard for me to follow.. there is a
lot of constant converting between FreePascal variable types and Windows
like their PChar thing.  From what I see in fpGUI so far, it's just a whole
lot cleaner and a lot easier to understand.  I'm excited to integrate it
into my projects.  After I get a few things going, I could switch to the
Develop branch and see if there are any issues.  It seems like there is
quite a lot of work that's been done in the develop branch.

James


-----Original Message-----
From: fpc-pascal <fpc-pascal-bounces at lists.freepascal.org> On Behalf Of
Graeme Geldenhuys via fpc-pascal
Sent: Sunday, December 1, 2024 3:51 PM
To: fpc-pascal at lists.freepascal.org
Cc: Graeme Geldenhuys <mailinglists at geldenhuys.co.uk>
Subject: Re: [fpc-pascal] What to do to get new users

Hi James.

On 29/11/2024 01:11, James Richters via fpc-pascal wrote:
> I'm intrigued by FPGUI, I'm trying to build FPGUI on Windows 10, and I'm
having some difficulty.  When I follow the instructions from Install.txt I
get this:
> 
> R:\fpgui_src_1.4.1\fpgui-1.4.1\src>build

I just got back from a weekend away. I believe that is an old bug that has
been fixed years ago. I just never created an official 1.4.x release since.
<face-palm>

Could you switch to the "maint" branch and run the "build.bat" from inside
the <fpgui>/src/ directory. That should work.

All example applications and demos should then compile with the following
syntax:

  fpc @extrafpc.cfg <project-name>.lpr



Regards,
  Graeme

_______________________________________________
fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal



More information about the fpc-pascal mailing list