Article View: borland.public.delphi.commandlinetools
Article #80Re: File not found issue - I'm stumped on this one.
From: RDSpringer
Date: Wed, 02 Nov 2005 03:01
Date: Wed, 02 Nov 2005 03:01
94 lines
4693 bytes
4693 bytes
Well, I tried the additions of the path to the DCC32.CFG file and it gets
past the one missing file and then it can not locate files like
"Controls.Res" and "Buttons.Res".
These are located in the "Program Files\Borland\BDS\3.0\Lib" directory - so
go figure.
Well, back to square one - is there any way of using the CFG file that is
generated by Delphi for the DCC32 - it contains all of the necessary paths
and settings - I find it hard to believe that if this file is in the same
directory as the DPR that the DCC32 does not utilize it.
I am obviously still missing something here.
Thanks again Mike for the input thus far.
Robert
"RDSpringer" <RSpringer@Cinci.rr.com> wrote in message
news:43681b50$1@newsgroups.borland.com...
>I have a large project group that contains 6 main projects.
>
> Each of these build with different directives - I need to automate the
> building process and I figured I would just do Command Line compile via a
> batch file.
>
> The problem is, whenever I run DCC32 on a DPR file I get the 'Fatal Error:
> File not found RzLstBox.DCU'
>
> Now, I have done build before with command line directives and I even used
> the built in tool in the IDE to determine what Delphi 2005 is using for a
> command line.
>
> So my batch looks like:
>
> Echo Off
>
> Set BuildDir = "..\@Build"
> Set UnitPath = ".."
> Set UnitPath = %UnitPath%;"c:\program files\borland\bds\3.0\LIB"
> Set UnitPath = %UnitPath%;"c:\program files\borland\bds\3.0\LIB\INDY10"
> Set UnitPath = %UnitPath%;"C:\program files\borland\bds\3.0\Lib\Debug"
> Set UnitPath = %UnitPath%;"c:\program files\borland\bds\3.0\IMPORTS"
> Set UnitPath = %UnitPath%;"c:\program
> files\borland\bds\3.0\RaveReports\Lib"
> Set UnitPath = %UnitPath%;"C:\Program files\Raize\RC3\Lib9"
> Set UnitPath = %UnitPath%;"..\Third Party\chcombobox"
> Set UnitPath = %UnitPath%;"..\Third Party\DragDrop\Components"
> Set UnitPath = %UnitPath%;"..\Third Party\GifImage"
> Set UnitPath = %UnitPath%;"..\Third Party\XDOM\XDom_3_1"
> Set UnitPath = %UnitPath%;"..\Third Party\XDOM\Utilities"
> Set UnitPath = %UnitPath%;"..\Third Party\Cincom"
> Set UnitPath = %UnitPath%;"..\Server"
> Set UnitPath = %UnitPath%;"..\XRClient"
> Set PckgPath = "C:\Documents and Settings\rspringer\My Documents\Borland
> Studio Projects\Bpl"
>
> Set PathSave = Path
> Set Path = UnitPath
>
> DCC32 -CG -E%BuildDir% -DACTIVX -I%UnitPath% -U%UnitPath% -o%UnitPath% -R%UnitPath%
> -PkgDllDir=PckgPath -PkgDcpDir=PckgPath -$A1 -$B- -$C+ -$D- -$E- -$F- -$G+
> -$H+ -$I+ -$J+ -$K- -$L+ -$M- -$N+ -$O- -$P+ -$Q- -$R- -$S- -$T- -$U- -$V+
> -$W- -$X+ -$YD -$Z1 -B -H+ -W -$M16384,1048576 -$K4194304 -AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;
> -W-SYMBOL_PLATFORM -W-UNIT_PLATFORM -W-UNSAFE_TYPE -W-UNSAFE_CODE -W-UNSAFE_CAST
> attarx.dpr
>
> Set Path = PathSave
>
> pause
>
>
>
> Yes I know it's ugly - I am testing trying to solve my problem.
>
> You can see that the UnitPath includes the location for the RZLstBox.DCU
> (C:\Progam Files\Raize\RC3\Lib9) and I have confirmed the DCU is located
> in that directory.
>
> I have also done test to see if there are issues with the "C:\Program
> Files\..." path name but they are in double quote (").
>
> As you can see - I do specify the DOS path as well as the various path
> locations in the commandline for DCC32 - I am not sure why it can not
> locate the DCU???
>
> Please help - this is just frustrating.
>
> Thank You in advance I do appreciate your time and input.
>
> Robert
> --
> Robert D. Springer
>
Technical Details
Message-ID:
<43682c0d$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<43681b50$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: ff8f1,691680fe12e5309d X-Google-Attributes: gidff8f1,public X-Google-Language: ENGLISH,ASCII-7-bit From: "RDSpringer" <RSpringer@Cinci.rr.com> Newsgroups: borland.public.delphi.commandlinetools References: <43681b50$1@newsgroups.borland.com> Subject: Re: File not found issue - I'm stumped on this one. Date: Tue, 1 Nov 2005 22:01:38 -0500 Lines: 96 Organization: Cincom, Systems Inc. X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 65.26.146.136 Message-ID: <43682c0d$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1130900493 65.26.146.136 (1 Nov 2005 19:01:33 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail