Peter,

Check out the package's ".cfg" file as well as the DCC32.cfg file.

For the command line compiler if the paths contain spaces then the
entire path must be contained in double quotes just as if it was typed
on the command line.

eg.
-u"C:\Program Files\Borland\Delphi4\Lib"

Once you've got this done then the command line compiler is a god-send.

We used to have a full page document on the steps to rebuild our common
component library after a change had been checked back into version
control.

Now the instruction is just: Run the "!Rebuild Component Library" link.

The batch file registers our OCX's, rebuilds the library packages (in
the correct order!) and copies the required runtime .dpl's into the
Windows System directory automagically.

And reinstalling Delphi is just as easy

TTFN.
----
Struan Judd     <*>             EMail:          [EMAIL PROTECTED]
CJN Technologies Ltd            Phone:          +64 (9) 415 4796
All opinions mine only  Mobile: +64 (21) 685 335


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 21 January 1999 12:10
To: Multiple recipients of list delphi
Subject: [DUG]: Command line compiler




I'm trying to create a build process using batch files &  DCC32 for D3
and
D4 projects.

When I try to build a package with D4 I get the following error:

     Borland Delphi  Version 12.0  Copyright (c) 1983,98 Inprise
Corporation
     Warning: Invalid compiler directive: 'files\borland\delphi4\Lib'
     FSSystem.pas(264) Error: Undeclared identifier: 'ctSockets'
     FSAboutPanel.pas(21) Fatal: Could not compile used unit
'FSSystem.pas'

I can't figure out where the Invalid compiler directive is coming from
and
I have included the correct paths in the DCC32.CFG file so it sould not
get
the undeclared identifier error either.

Anyone got any ideas on this?


------------------------------------------------------------------------
---
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to