www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/06/18/07:48:24

Xref: news2.mv.net comp.os.msdos.djgpp:5121
From: Robert Hoehne <Robert DOT Hoehne AT Mathematik DOT tu-chemnitz DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: How do I create and .exe file?
Date: Tue, 18 Jun 1996 11:47:26 +0200
Organization: TU Chemnitz-Zwickau
Lines: 27
Message-ID: <31C67B2E.41C6@Mathematik.tu-chemnitz.de>
References: <ECS9606170854B AT essex DOT ac DOT uk>
NNTP-Posting-Host: decency.hrz.tu-chemnitz.de
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

C. N. Feng wrote:
> 
> c:/dj pp/bin\ d.exe:  annot open outp t file  est: Pe mission denied  EACCES)
> 
Either there exists a file 'test', which is write protected or there exists a directory 'test'.
Please check this or rename the change the generated output name (menu Project/main targetname).

> If I change the target name to test1, it runs perfectly.
> 
See above.

> However, if I include a file, abc.cc  in another directry into this project file,
> the messages window says " can not find the file abc.o ".
> Is my setting not correct ?

If you include a souce file in your project, which is not in the current
directory, you must set the search path to the directory, where this file is.
(See documentation section 3.8.1)

Robert
-- 
*****************************************************************
* Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau *
* Post:    Am Berg 3, D-09573 Dittmannsdorf                     *
* e-Mail:  Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE              *
* WWW:     http://www.tu-chemnitz.de/~rho                       *
*****************************************************************

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019