2016-09-10 10:47 PM
Hi guys,
1. compile proj. Keil51 uVision: -> error: #5: cannot open source file ''MCode.h''
2. MCode.c
#include ''MCode.h''
...
3. Options for target -> c/c++ -> path ../user
4. user (MCode.h) etc..
Q: it seems everything is ok, but why compiler does not find MCode.h ??
thank you for the answers .. br M.
2016-09-11 02:19 PM
Q: it seems everything is ok, but why compiler does not find MCode.h ??
Because it is not being told to look in the right places, you will need to provide an adequately complete list in (3) for it to be able to find the files. You could also try the < > form if you are absolutely sure the search paths list is correct/complete. I'd start by reviewing the project.2016-09-13 10:55 AM
2016-09-15 12:17 AM
hello Clive1,
I attached my project, could you be so kind and check what is wrong ? I did as you said but uVision5 refuse to include my file .. br M.2016-09-15 03:04 AM
Hi mickey,
Issue due to the file name defined with space ''MCode .h'' !You should remove the space between MCode and (.h).Make sure you have the include paths specified properly, clean Target, then rebuild all target files.Regards2016-09-17 03:03 AM
tnx a lot, o God I need new glasses ..