[Lazarus] Lazarus and Graphics32 library packages

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Jan 5 20:07:03 CET 2013

On Fri, 4 Jan 2013 21:33:41 +0200
Juha Manninen <juha.manninen62 at gmail.com> wrote:

> To test it, first load Graphics32 :
>  $ svn co https://graphics32.svn.sourceforge.net/svnroot/graphics32/trunk
> graphics32_trunk

I took a brief look.
- GR32_Lazarus is marked as runtime package but depends on IDEIntf.
It seems this is not needed.
- Both packages use the same unit output directory.

This should work. Although I would recommend to
separate the design units.

> Then try to install
>  Source/Packages/GR32_DSGN_Lazarus.lpk

It fails, because fpc recompiles some units of the runtime package
when compiling the design time package. I don't know why it recompiles.
Maybe because of the inlines and the many unit cycles.
This bug exists in FPC since several years.

> I would say this is a bug in Lazarus.
> First I thought the problem was in their package. I figured I solved
> it and I sent a patch to
>  http://sourceforge.net/tracker/?func=detail&aid=3599094&group_id=112985&atid=663799
> but finally it makes no difference. I copy it below just for reference.


More information about the Lazarus mailing list