Stacey,
 
starting with D5, they have stuffed it up.  The IDE keeps stuffing up teh cfg file that the commandline compiler needs to compile properly.  We keep a copy of the cfg file (named ad gfc) which we copy to the right place in the batch file that then compiles the app.  The cfg has to have full paths to all units (including components).  Or you move them all to a common directory - which is what it appears that Borland are attempting to make us do.  Ruddy nuiscance.
----- Original Message -----
Sent: Friday, 12 October 2001 4:25 PM
Subject: RE: [DUG]: Delphi 6 Command Line compiler.

I am compiling a dpr (in an automated build process) rather than a dpk, and
the units that it can't find are not in list of project files, as they are
units for components.

This worked fine in Delphi 4.

Stacey

> -----Original Message-----
> From: vss [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 12 October 2001 4:19 p.m.
> To: Multiple recipients of list delphi
> Subject: Re: [DUG]: Delphi 6 Command Line compiler.
>
>
> I had a similar problem when using commandline to compile a
> DPK I have.
> I found that I had to include the FULL path to the unit.
>
> i..e
>
>      MyUnit in 'c:\units\myunit.pas';
>
> Jeremy  Coulter
>
>
> -----Original Message-----
> From: Stacey Verner <[EMAIL PROTECTED]>
> To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
> Date: Fri, 12 Oct 2001 15:26:42 +1300
> Subject: [DUG]:  Delphi 6 Command Line compiler.
>
> > I have a project that compiles fine from within the IDE but
> when I use
> > the
> > command lien compiler (dcc32.exe) it fails.
> > 
> > We get the error wwQuery.dcu not found.
> > 
> > Heres what I have:
> > - In C:\Develop\D6Complib is our component library (contains - among
> > other
> > things - wwQuery.pas).
> > - In C:\Develop\RAMM is our application.
> > - C:\Develop\D6Complib is in the path.
> > 
> > If I copy the files in C:\Develop\D6Complib to
> C:\Develop\RAMM all is
> > fine.
> > 
> > What am I missing?
> > 
> > Thanks
> > 
> > Stacey
> > 
> > Stacey Verner             Ph:   +64-9-4154790
> > Software Developer        Fax:  +64-9-4154791
> >                           DDI:  +64-9-4154797
> > CJN Technologies Ltd.     Email: [EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>
> > PO Box 302-278, North Harbour, Auckland 1330, New Zealand
> > 12 Piermark Drive, North Harbour, Auckland, New Zealand
> > Visit our website at http://www.cjntech.co.nz/
> > <http://www.cjntech.co.nz/
> > 
> > 
> >
>
>
> --------------------------------------------------------------
> -------------
>     New Zealand Delphi Users group - Delphi List -
> [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
> Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
>
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to