delorie.com/djgpp/faq/dev-probs/cant-find-headers.html   search  
When I run the compiler it says it couldn't find header files and/or libraries. But the headers and libraries are all there, so why won't it find them?

In order for the compiler to find its include files, libraries and other stuff it can't do without, you should have the following variable set in your environment:

  DJGPP=c:/djgpp/djgpp.env
and it should point to the correct path of the file djgpp.env on your system (the file itself comes with djeoeXXX.zip file in the djgpp distribution). In the above example it is assumed to be in the c:\djgpp directory, but you should set it as appropriate for your installation.

If the DJGPP variable is set correctly, then check the following possible causes of this misbehavior:


  webmaster     delorie software   privacy  
  Copyright © 1995     Updated Feb 1995