[fpc-pascal] How to use fpGUI?

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Sun Jul 20 11:47:40 CEST 2014

On 2014-07-20 04:50, Holger Aschmann wrote:
> I write my programs in Free Pascal on NotePad, and I don't like to use
> Lazarus.

NotePad is an interesting choice. In a push I would maybe prefer Free
Pascal's Text IDE before I use NotePad.  I'll give you the benefit of
the doubt and believe you are referring to NotePad++ instead. ;-)

> Is there any possibility to use fpGUI, or doesn't it work
> without Lazarus?

Yes of course you can use fpGUI without Lazarus. fpGUI doesn't depend on
any IDE or editor. To make compiling easier from the command line, fpGUI
includes compilation scripts for the framework. It also includes
extrafpc.cfg files in the "examples" directory which sets some last
minute paths and compiler options. These *.cfg files are handy for your
own projects too.

  cd <fpgui>/examples/apps/ide/src/
  fpc @extrafpc.cfg maximus.lpr

I recommend you use the latest fpGUI source code from the Git repository:

  git clone https://github.com/graemeg/fpGUI.git

I've just started the v1.2 release branch for testing.

The docs/INSTALL.txt file describes how to compile fpGUI, and how to use
it from various IDE's (FP Text IDE, Lazarus, MSEide, Maximus - fpGUI's
own demo app) or from the command line.

If you have any further questions, don't hesitate to pop over to the
support newsgroup. There are many fpGUI users more than willing to help
you along the way. The following URL has details for the newsgroup.

  - Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal

More information about the fpc-pascal mailing list