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 am using ucontroller p89v51RD2FN.
plz help me i got an error msg c318
so what is the solution
thanx
Please read the manual: http://www.keil.com/support/man/docs/c51/c51_c318.htm and then Think!
As Per says, think about what things might cause any application in general to be unable to open any file in general.
Also, think about what things might cause your compiler in particular to be unable to open your specific file in particular...
Have you done any thinking yet?
yes u r right that is an error msg giving by the compiler but how could i manage it.
<P89V51Rx2.H> file can not open by the compiler
i m using the NXP P89V51RD2 PROCESSOR
may be this problem cause i dont have that file so what is the method to solve the problem
So have you checked whether or not you have that file?!
Remember that nobody on the forum has access to your computer, so nobody can check that for you - you need to do it yourself!
Maybe you dont have it???
Do you mean that you haven't searched yet? You know, using the search function available in Windows?
Or do you expect us to hack your computer and scan it for you? Look around you. We are not sitting somewhere near you, so you really have to do some tasks yourself.
Next thing: are you also saying that you have never, ever, tried "P89V51Rx2.H" as search expression in Google? Why? Because you are affraid that if you do, you might actually find a copy of the file? Of course, just finding a copy of the file will not help, unless you have bothered with one of my earlier questions - where are the compiler supposted to look for include files?
yes i dont have this file <P89V51RD2>
HOW COULD I INSTALL THAT FILE IN M SYSTEM....
Or just in the 'Search' box on the Keil website - as it is the Keil tools that we're specifically talking about!
But the first match in Google will point to http://www.keil.com/dd/docs/c51/philips/p89v51rx2.h and using Google should require slightly less creativity than to scan the Keil web pages and notice the Search field in the upper right corner.
DON'T SHOUT!
For a start, where did you get your Keil from in the first place? If it's old, have you tried updating it?
For each supported chip, Keil provides a page in their Device Database which describes that chip - including, among other things, their header file for it:
http://www.keil.com/dd/chip/3711.htm
Note that you could have found this by simply putting "P89V51Rx2.H" into the 'Search' box at the top-right of every page on this site.
The header file is just a standaed 'C' header file - it doesn't need any special "installation".
You will, of course, have to put it somewhere where the compiler will be looking to find it; the C51 manual describes how the compiler searches for include files - and how you can specify additional locations for it to search...
where are the compiler supported to look for include files?
I M STILL SEARCHING THIS OPTION BUT I CAN NOT FIND IT
I LL TRY PROJECT>OPTION FOR TARGET>C51
BUT COMPILER WAS NOT SUPPORTED.....
Well, header files are handled by the preprocessor, aren't they?
The very first page of the C51 manual is here: http://www.keil.com/support/man/docs/c51/ and there's a clear link to the section about the preprocessor - isn't there?
Here it is: http://www.keil.com/support/man/docs/c51/c51_preprocessor.htm
And the first link on that page is about Header Files: http://www.keil.com/support/man/docs/c51/c51_pp_header_files.htm
And that tells you about #include: http://www.keil.com/support/man/docs/c51/c51_pp_include.htm
And that page tells you all about how the compiler searches for include files, andhow you can specify additional Include Paths...
thanx all of u for ur support
OK, you're welcome - but please take some time to look back over the thread and see how you could have got yourself to the answer so much more quickly and easily by thinking for yourself!
There was no actual confirmation as to whether the OP got his problem resolved or not. He just said "thanks for support". Maybe he just gave up and decided to go fishing.
Michael Karas
I don't do fishing, but, if I did, I imagine that it'd be a great time to do some good thinking...
When fishing, "thinking" = "drinking"!
Jon