www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/05/07/06:15:16

From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Could not find the source file
Date: 7 May 2001 10:09:59 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 27
Message-ID: <9d5s9n$gcp$1@nets3.rz.RWTH-Aachen.DE>
References: <9d2cdo$oo2$1 AT news5 DOT svr DOT pol DOT co DOT uk>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 989230199 16793 137.226.32.75 (7 May 2001 10:09:59 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 7 May 2001 10:09:59 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

paul holden <givethisguy AT ajob DOT fslife DOT co DOT uk> wrote:

> i've been learning how to use rhide over the past few weeks. I've been
> muddling through but i can't find any answers in FAQs to my querry.  Nearly
> everytime i try and "make" my program it says, it "could not find the source
> file 'xxxxxx.cpp'  (xxx being my file name)

This would most easily happen if your project file is not in the same
directory as your sources. Which, in turn, most frequently is because
of a Windows-ish approach to running RHIDE: by clicking on the 'rhide'
icon. This will start rhide all right, but almost certainly with the
wrong current directory. So please follow this recipe:

	Open a DOS window
	"cd" to the directory where your source files are (i.e. if the
           source is "hello.cpp", "dir hello.cpp" should now show it)
	run rhide by typing "rhide" and <enter>
	Now create a project, add the necessary source files to it,
          and 'make' it.

If that procedure doesn't work, you should show us the *exact* error
messages you got as you tried it.


-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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