[Lazarus] Debug Lazarus source

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Nov 7 11:04:12 CET 2009


On Fri, 6 Nov 2009 16:49:19 +0200
Juha Manninen <juha.manninen at phnet.fi> wrote:

> Hi,
> 
> I don't know what happened here.
> At one point I deleted all Lazarus setting files from ~.
> Then I have reloaded the whole Lazarus source tree from SVN.
>   svn checkout http://svn.freepascal.org/svn/lazarus/trunk lazarus
> 
> "Make clean all" worked fine but when compiling lazarus.lpi I get
> errors:
> 
>   The project's compiler options has no compiler command.
> 
> In Project Compiler Options -> Compilation -> Compiler the 3
> checkboxes are unchecked: "Compile", "Build" and "Run".

This is on purpose.

> I check them.
> 
> Trying to compile again:
> 
>   lazarus.pp(37,2) Fatal: Can't open include file "ide.inc"
> 
> So, in Compiler Options -> Paths -> Include Files I set "include".
> ... Now it actually compiled many files, but then:
> 
>   packagedefs.pas(60,65) Fatal: Can't find unit PackageDefs used by
> Project
> 
> The editor has unit file PackageDefs open when it gives the error, so
> it actually found it.
> I add ";../packager/" to Compiler Options -> Paths -> Other Unit
> Files. I can see there is already "converter" added.

I added them.

 
> Now the project actually compiles and runs!

This is the minimal IDE without any installed packages.

I changed a few things.
Now F9 will compile an IDE with packages.
No compiler flag is passed.


Mattias




More information about the Lazarus mailing list