www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/26/13:00:50

From: "Nicholas Law" <fake_nic DOT law AT dial DOT pipex DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: #include "....." doesn't work
Date: 26 May 1998 16:26:24 GMT
Organization: UUNET
Lines: 32
Message-ID: <01bd88c2$d06736a0$525a95c1@nicland>
NNTP-Posting-Host: usero828.uk.uudial.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi all!

Recently I split up a fairly large program into different modules, all with
the .cpp extension, and put them in a directory like this:
c:\djgpp\planet\modules. I made them all part of the same project in RHIDE
V1.4.

When I try to get the modules to access header files in _any_ directory the
compiler produces the error "no such file or directory (ENOENT)". The
standard header files work fine, it's just my own .h files that it can't
find... I access my header files like this: #include
"c:\djcpp\planet\funcs\base.h"

This only happened when I split my program up: before it worked fine
accessing the header files in the above way from a single .cpp file.

Has anyone got any ideas?

Nicholas Law

Web: http://dialspace.dial.pipex.com/town/road/xpa18/index.shtml
(A 3D Starmap)

To reply, please remove fake_ from the front of the return address



-- 
Nicholas Law
Web: http://dialspace.dial.pipex.com/town/road/xpa18/index.shtml

To reply, please remove fake_ from the front of the return address

- Raw text -


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