Article View: borland.public.delphi.commandlinetools
Article #327Re: DCC32 cant find *.dcu files
From: Andy
Date: Mon, 29 Nov 2004 02:47
Date: Mon, 29 Nov 2004 02:47
53 lines
3164 bytes
3164 bytes
Dear Mike,
Thank you for your reply. Actually i only just doing a testing first for
using the dos command line to compile the application before i really apply
it to my application. It is work if i change to the test folder and type the
command dcc32. I try to specify the path because i not only compile one
application in my batch file. For example, if i have two application call
test1 and test2 then i need to change my directory to the specify test1 and
test2 folder to type the dcc32 command to make it work. So, i try to specify
the commandline as
Dcc32 C:\Test1\Project1.dpr
Dcc32 C:\Test2\Project2.dpr
but it will show the error that i mentioned. I have all the source code but
only the *.dcu files are not in the source code. It is because the dcu is
after i have compiled then it will be created. Is that anyway to write the
commandline instead of change to the directory to type the dcc32 command?
Thank you.
Regards,
Andy
"Mike Williams [TeamB]" <mlwilliams@gmail.com> wrote in message
news:Xns95AFCDCAED296mikewteamb@207.105.83.66...
> On 28 Nov 2004, "Andy" <ccyew@gprotechnologies.com> wrote:
>
> > Currently i am using delphi 5 and I facing a problem. When i try to
> > write a dos command line to compile a project, it show a error message
> > "Fatal: File not found: 'Unit1.dcu'.
> >
> > My command line is as shown as below :
> > C:\>Dcc32 -n"C:\Test" -u"C:\Test" C:\Test\Project1.dpr
> >
> > I try to use the -n for DCU directory and -u for unit directories also
> > still got this problem. If i try to use the delphi 5 application there
> > and compile it then it do not have problem.
> >
> > Is that i have left out any command line to handle the DCU file
> > problem? Any idea of that?
>
> Do you have all of the source code? DCU files are not compatible between
> versions of Delphi and you didn't say which version you're having a
> problem with. Also, I don't understand why you're specifying the paths
> the way you are. Why not just:
>
> C:\Test> dcc32 project1.dpr
>
> --
> -Mike (TeamB)
> Newsgroup guidelines: http://www.borland.com/newsgroups/guide.html
>
Technical Details
Message-ID:
<41aa8e97@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<41aa0fe9$1@newsgroups.borland.com> <Xns95AFCDCAED296mikewteamb@207.105.83.66>Show Full Headers
Complete Article Headers
X-Google-Thread: ff8f1,eccc10fd04db75d3 X-Google-Attributes: gidff8f1,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Andy" <ccyew@gprotechnologies.com> Newsgroups: borland.public.delphi.commandlinetools References: <41aa0fe9$1@newsgroups.borland.com> <Xns95AFCDCAED296mikewteamb@207.105.83.66> Subject: Re: DCC32 cant find *.dcu files Date: Mon, 29 Nov 2004 10:47:56 +0800 Lines: 55 Organization: Gpro X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 NNTP-Posting-Host: 218.208.76.76 Message-ID: <41aa8e97@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1101696663 218.208.76.76 (28 Nov 2004 18:51:03 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail