[Lazarus] Error when compiling for GTK2 (on Linux)

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Jan 8 19:26:53 CET 2009


On Thu, 8 Jan 2009 18:20:08 +0100
Bart <bartjunk64 at gmail.com> wrote:

> Hi,
> 
> Since today, when I want to compile any (even a new and empty project
> (just 1 form, no controls on it)) I get the following error:
> 
> Free Pascal Compiler version 2.2.2 [2008/07/29] for i386
> Copyright (c) 1993-2008 by Florian Klaempfl
> Target OS: Linux for i386
> Compiling /tmp/project1.lpr
> PPU Loading /usr/lib/lazarus/lcl/units/i386-linux/gtk2/gtkwsgrids.ppu
> PPU Source: gtkwsgrids.pp not found
> Recompiling GtkWSGrids, checksum changed for Grids
> gtkwsgrids.pp(11,42) Fatal: Can't find unit GtkWSGrids used by GtkInt
> 
> The file gtkwsgrids.pp is actually there (the IDE opens it for me on
> the error).
> 
> What did I do before this happened?
> 
> I did a make clean all (because I altered maskedit.pp in lcl
> directory). This seemed to go well, no error were issued.
> (I have done this before (make clean all) and AFAIK after that I still
> was able to swict between compiling for GTK1 and GTK2)
> 
> Any help?

Have you tried compiling lazarus clean?

Mattias



More information about the Lazarus mailing list