🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.commandlinetools
Article #302

Re: Dcc32 can't find .dcp file

#302
From: Jens Berke
Date: Tue, 02 Nov 2004 09:04
29 lines
2268 bytes
Peter Laman wrote:
> Jens Berke wrote:
>>Do you have the path to A.dcp in your Delphi library path, in the
>>cfg-file of the B.dpk or in the params you pass to dcc32?
> No, but the packages are in the default Delphi6\Projects\Bpl folder and in
> the IDE it compiles ok.
You have to specify all search paths and library paths explicitly either 
in the CFG file or as a parameter to dcc32. That's why it compiles in 
the IDE but not with dcc32. Like this:

/LN"C:\Program Files\Borland\Delphi\5.0\Projects\BPL"
/LE"C:\Program Files\Borland\Delphi\5.0\Projects\BPL"

Look in the Delphi help for further details about these parameters 
(search in the index tabsheet for "command line").

Instead of writing your own batch file I can recommend the open source 
tool WANT, which parses a simple xml file and creates all the neccessary 
parameters and cfg files for dcc32 (including building the project; plus 
much more tasks). It's much easier to use. If you're interested: 
http:\\sourceforge.net\projects\want
I can post some samples here or mail them to you if you like.

HTH
Jens

-- 
____________________________________________________________
  email (delete all digits, please): info@11.jensberke.11.de
Technical Details
Message-ID: <41874da2@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <41860da5@newsgroups.borland.com> <418641f9$1@newsgroups.borland.com> <4187420b$3@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: ff8f1,60401428d9ef8b13
X-Google-Attributes: gidff8f1,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Tue, 02 Nov 2004 10:04:32 +0100
From: Jens Berke <noreply@jensberke.de>
User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.delphi.commandlinetools
Subject: Re: Dcc32 can't find .dcp file
References: <41860da5@newsgroups.borland.com> <418641f9$1@newsgroups.borland.com> <4187420b$3@newsgroups.borland.com>
In-Reply-To: <4187420b$3@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 80.134.72.204
Message-ID: <41874da2@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1099386274 80.134.72.204 (2 Nov 2004 01:04:34 -0700)
Lines: 29
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail