On Fri, 6 Apr 2007 16:58:50 +0200
"Graeme Geldenhuys" <[EMAIL PROTECTED]> wrote:
> On 4/6/07, Mattias Gaertner <[EMAIL PROTECTED]> wrote:
>
> > Download the gui and gfx directory to lcl/interfaces/fpgui/.
> > See the lcl/interfaces/fpgui/README.txt for hints.
> > Note: Do not open the .lpk and do not open a project with
> > dependencies to the fpgui packages. The LCL uses different paths.
> > Then build the new LCL interface with the IDE.
> > The codetools should now find all units and include files.
>
> Thanks, I'll give it a try shortly...
>
> >
> > I just did a small test and got a strange error:
> >
> > Loading ..../lcl/units/i386-linux/fpgui/stylemanager.ppu
> > PPU Source: stylemanager.pas not found Recompiling StyleManager,
> > checksum changed for fpGUI
> >
> > Are there any circle dependencies or inlines in fpGUI?
> >
>
> No circle dependencies that I can see. The only unit that is
> referencing the StyleManger should be fpgui.pas (in the Implementation
> uses clause).
That's what I meant. fpGui is creating a unit circle with StyleManager.
And even worse: it uses inlines.
Break the circles and the error will vanish.
> Strangely enough, I get that same error every now and
> again when I compile one of the GUI examples. I just do another build
> and the error goes away for the day. Strange - could never figure out
> what causes it. I have more that triple checked the fpGUI code and
> couldn't see anything wrong - my first thought was also circle
> dependencies or a old .ppu file being detected (I have a few copies of
> fpGUI checked out in my PC).
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives