C51: COMPILER IS UNABLE TO FIND INCLUDE FILES
Information in this article applies to:
When I try to compile my C file it gives an error saying it is unable to open the header file that I am specifying. Using Windows Explorer, I can see the header file in my C51\INC folder. What is wrong?
Either the wrong path has been specified or your Autoexec.bat file has been altered, such that the environment variables pointing to the INC and LIB folders are ineffective.
Choose 'Environment Pathspecs' from the Options menu and either check the option to automatically determine the paths, or verify that the paths entered are correct.
Ensure that lines similar to the following are in your Autoexec.bat file:
set c51lib=c:\c51\lib set c51inc=c:\c51\inc
Reboot your machine after making any changes to the Autoexec.bat file.
If neither of these possibilities work, then re-install your tools.
Be sure to use lowercase directory paths in Windows 95 and later. Using uppercase path names may confuse C51 Version 5.10 and earlier.
Last Reviewed: Tuesday, June 8, 2004
of your data.