[lazarus] CVS Updatesuy

Michael Van Canneyt michael.vancanneyt at wisa.be
Wed Jun 18 12:19:11 EDT 2003




On Wed, 18 Jun 2003, Mattias Gaertner wrote:

> On Wed, 18 Jun 2003 16:24:46 +0200 (CEST)
> marcov at stack.nl (Marco van de Voort) wrote:
>
> > > >
> > > > The opened debug window remains empty.
> > > >
> > > > Output in main window becomes:
> > > >
> > > > inking /fpc/lazproj/project1
> > > > 116 Lines compiled, 0.6 sec
> > > > [TCompiler.Compile] end
> > > > [TDebugManager.DoInitDebugger] A
> > > > [TCmdLineDebugger] Debug PID: 751
> > > > TApplication.HandleException Access violation
> > > > (gdb)
> > > >
> > > > But I'll hunt for {$ifdef linux} and {$ifdef unix} conditionals and
> > > > check them myself. If that doesn't reveal anything, I can always try
> > > > to debug it then.
> > > >
> > > > ---
> > > > Another problem: moving a project makes the IDE not find files.
> > >
> > > How did you move?
> >
> > mv * /new/directory
> >
> > > > There are absolute paths in the project1.lpi file causing this.
> > >
> > > What files?
> >
> > form1 (unit1.pas and .lrs were absolute), form2 (unit2.pas and .lrs)
> > weren't.
>
> The lpi only uses absolute filenames if the file is not in the project
> directory. Can you give the full filenames?

Delphi always uses filenames relative to the project directory.
SysUtils contains a function ExtractRelativePath() which does this for
you.

Michael.






More information about the Lazarus mailing list