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
c3.14 !
1) Do you think "help" is a summary that makes a good job describing your problem. No way at all, that a better summary could have been written?
2) Did you start with google and "Keil c318"? It gives the result: "Can't Open File file-name".
3) If the compiler complained that it couldn't open a file - didn't it say which file? If so, why did you not post the name of the file?
4) Our suggestions would differ depending on what file that failed to open. Does it exist? Does it exist where it is expected to exist? Did you spell something wrong? Did you install the complete tool chain? Does the tool chain have include files for your specific processor? Is it one of your own files?
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...
actually i m working on 8051 development board
it has micro-controller NXP P89V51RD2
so the problem is that the compiler could not open the file and showing the error msg C318 file can not open
so i m not able to work on it......
Actually, you are not working on any 8051 development board, since you will not be able to work on any physical platform until you have managed to build any application to run on it.
By the way - are you sure you know what processor you are using? You have now posted two different processor models.
And the compiler do not just give an C318 error message. The C318 is just a short number to allow you to easily locate the error in the manual. Besides the number, the compiler also mentions the name of the file it can't open. And you have still not - despite being asked to - mentioned the name of the file.
And you haven't given us any clue that you have spent any time figuring out why the compiler can't open this file either.
Indeed - so you need to think about what reasons could be causing the compiler to be unable to open that file!
Again, start by thinking in general terms: what things could prevent any application from being able to open any file...?
<P89V51Rx2.H> file can not open by the compiler
i m using the NXP P89V51RD2 PROCESSOR
so how could i remove that problem
How many of my questions from my initial post have you still not answered?
Such simple questions as: "does it exist"? "does it exist where it is expected to exist"?
Have you considered searth paths? Where is the compiler expected to look for include files? Can you, by configuring the compiler, affect where it will search for include files?
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.
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.