We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I have two questions : 1. When compiling my project include files in the c51\INC directory can't be located. there is an error ("can't open file 'stdio . h" …..) but if I write the #include with the full path #include "c:\c51\inc\stdio.h" instead of #include <stdio.h> the files are located. My autoexec.bat file is : Set path = c:\c51\bin Set c51lib = c:\c51\lib Set c51inc = c:\c51\inc How do we specify include files that don't reside in the \C51\INC directory? 2. Another error that I've got is: ***FATAL ERROR 210: I/O ERROR ON INPUT FILE: EXCEPTION 0021H: PATH OR FILE NOT FOUND FILE: LIB\C51L.LIB I've checked and the c51l.lib file is in the lib directory What is the reason for this fatal error? Thanks Rafi
ERROR 110 : CANNOT FIND SEGMENT SEGMENT : ?PR?.........and so what it means ? You left out the important details (like the rest of the segment name that couldn't be found). If you really want to get answers, you should provide complete information and not cripple those of us who are able to help you. The error you have probably means that the linker couldn't find a segment that you manually specified in some way on the command line. Jon