On Thu, 09 Aug 2007 10:04:42 -0300
Andreas Berger <[EMAIL PROTECTED]> wrote:

> I am converting a windows application from Delphi to Lazarus (Lazarus 
> version 0.9.22 - FPC 2.0.4). To do this I am compiling from the
> command line. I receive one odd behavior and one odd error.
> 
> Here is the output from the compilation
>     ...
>     Compiling Monitor.pas
>     Compiling Main.pas
>     Compiling Units.pas
>     Compiling Zone.pas
>     Compiling Log.pas
>     Compiling Main.pas
>     Compiling Units.pas
>     Compiling Zone.pas
>     Compiling Main.pas
>     Compiling Units.pas
>     Compiling Links.pas
>     Compiling Main.pas
>     Compiling Units.pas
>     Fatal: Can't find unit WholeNumber
>     Fatal: Compilation aborted
> 
> 
> As you can see, the odd behavior is that various units are compiled
> more than once. 

Probably because there interdependencies. e.g. Main uses Units and
Units uses Main or something like that.


> The odd error is that on the third compilation of
> 'Units.pas' it can't find the unit 'WholeNumber.pas' that is
> specified in the interface uses clause.
> 
> Can someone tell me what I am doing wrong?

Where is the file WholeNumber.pas? In the same directory?

Mattias

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to