home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / os2 / programm / 4633 < prev    next >
Encoding:
Internet Message Format  |  1992-09-01  |  1.6 KB

  1. Path: sparky!uunet!gatech!psuvax1!rutgers!njitgw.njit.edu!hertz.njit.edu!dic5340
  2. From: dic5340@hertz.njit.edu (David Charlap)
  3. Newsgroups: comp.os.os2.programmer
  4. Subject: Re: Include files disappearing
  5. Message-ID: <1992Sep1.135538.7186@njitgw.njit.edu>
  6. Date: 1 Sep 92 13:55:38 GMT
  7. References: <BtvzFs.L3q@well.sf.ca.us>
  8. Sender: news@njit.edu
  9. Organization: New Jersey Institute of Technology, Newark, N.J.
  10. Lines: 26
  11. Nntp-Posting-Host: hertz.njit.edu
  12.  
  13. In article <BtvzFs.L3q@well.sf.ca.us> shiva@well.sf.ca.us (Kenneth Porter) writes:
  14. >I'm having problems with MSC 6.0 intermittently not finding include
  15. >files along the include path.  This usually occurs when making from
  16. >inside of Epsilon 5.0, but occasionally occurs on the command line.
  17. >The compiler exits with "Fatal error C1024 cannot open include file
  18. >'file'".  The include file is always a nested file (ie. it's included
  19. >by another include file). Here's the include path:
  20. >
  21. >set INCLUDE=E:\C600\INCLUDE;.;E:\U\PRJ2\INCLUDE
  22. >
  23. >Both the main include file and the nested include file are in the
  24. >last directory. It doesn't seem to matter whether I use quotes or
  25. >angle brackets around the include file name.
  26.  
  27. Try suffixing the INCLUDE path string with a semicolon:
  28.  
  29.     SET INCLUDE=E:\C600\INCLUDE;.;E:\U\PRJ2\INCLUDE;
  30.  
  31. Oh yes, you may want to place "." first on the INCLUDE path.  This
  32. way, your custom include files will always override system include
  33. files of the same name.
  34. -- 
  35.    |)  David Charlap           "I don't even represent myself
  36.   /|_  dic5340@hertz.njit.edu   sometimes so NJIT is right out!.
  37.  ((|,)
  38.   ~|~  Hi! I am a .signature virus, copy me into your .signature file.
  39.