<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>ERROR C318</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/19318/error-c318</link><description> Hi, 
 This is srikanth daggumati.Could u pls help how to 
compile (example Text1.c) from command prompt.I 
checked the Help but error C318 is coming. 
 And also i want to see the output of the Text1.c in 
simulator it self.Could u pls help me in this</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: ERROR C318</title><link>https://community.arm.com/thread/157812?ContentTypeID=1</link><pubDate>Tue, 20 Dec 2005 08:04:48 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:70939c65-336c-4f7b-8795-cd856c62070b</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;Stop.&lt;br /&gt;
&lt;br /&gt;
Read the uVision &lt;i&gt;Getting Started&lt;/i&gt; Guide, and &lt;b&gt;work through the example projects in it&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
This will give you a proper introductions to the tools, how they work, and how to use them - rather than just jumping-in blindly at the deep-end!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ERROR C318</title><link>https://community.arm.com/thread/157794?ContentTypeID=1</link><pubDate>Mon, 19 Dec 2005 22:31:19 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:c0d7d05f-3b48-430b-aed2-8b74ed92e547</guid><dc:creator>sri D</dc:creator><description>&lt;p&gt;HI,&lt;br /&gt;
  There is NO special reason why iam not using uVision.Just to knew how to Compile and Debugg through Prompt.&lt;br /&gt;
     In IDE uVision i can&amp;#39;t able to find the printf statements.In Output Window after DEBUGGING I Can See only as follows&lt;br /&gt;
&lt;br /&gt;
Running with Code Size Limit: 2K&lt;br /&gt;
Load &amp;quot;C:\\Keil\\C51\\Examples\\project1&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ERROR C318</title><link>https://community.arm.com/thread/157778?ContentTypeID=1</link><pubDate>Mon, 19 Dec 2005 09:09:33 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:ff1c53f5-56ca-46c2-9ea3-43683a242a86</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;You need to remember that two things are needed to find a file:&lt;br /&gt;
1. Its name (eg, Text1.c), and&lt;br /&gt;
2. Its location, or &amp;quot;path&amp;quot; (eg, C:\Keil\C51\BIN)&lt;br /&gt;
&lt;br /&gt;
If you run the compiler from within uVision, the IDE takes care of this for you.&lt;br /&gt;
Is there any particular reason why you&amp;#39;re not using uVision?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ERROR C318</title><link>https://community.arm.com/thread/157767?ContentTypeID=1</link><pubDate>Mon, 19 Dec 2005 02:39:13 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:57e80d1d-f3b3-49f8-b464-2ab988bce5bf</guid><dc:creator>sri D</dc:creator><description>&lt;p&gt;So How can Rectify the current ERROR&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ERROR C318</title><link>https://community.arm.com/thread/157768?ContentTypeID=1</link><pubDate>Mon, 19 Dec 2005 02:38:23 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:1154573d-3181-41a7-ae7b-db2df076e2f9</guid><dc:creator>sri D</dc:creator><description>&lt;p&gt;Yes That&amp;#39;s not the Error what i mentioned first,At first i given Command out side Keil as follow&amp;#39;s&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:\&amp;gt;c51 Text1.c&lt;br /&gt;
&lt;br /&gt;
C51 COMPILER V8.01 - SN: Eval Version&lt;br /&gt;
COPYRIGHT KEIL ELEKTRONIK GmbH 1987 - 2005&lt;br /&gt;
*** ERROR C318 OF Text1.c: can&amp;#39;t open file &amp;#39;Text1.c&amp;#39;&lt;br /&gt;
&lt;br /&gt;
C51 COMPILATION COMPLETE.  0 WARNING(S),  1 ERROR(S)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ERROR C318</title><link>https://community.arm.com/thread/149159?ContentTypeID=1</link><pubDate>Mon, 19 Dec 2005 01:38:29 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:706fd614-4877-439e-9ca3-1eda86bfc3ef</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;That&amp;#39;s not the error C318 that you originally reported, is it?!&lt;br /&gt;
&lt;br /&gt;
So what&amp;#39;s cchanged?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ERROR C318</title><link>https://community.arm.com/thread/130016?ContentTypeID=1</link><pubDate>Sun, 18 Dec 2005 22:47:32 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:86d02c66-6712-432e-b848-e5a4ac832261</guid><dc:creator>sri D</dc:creator><description>&lt;p&gt;C:\Keil\C51\BIN&amp;gt;dir Text1.c&lt;br /&gt;
 Volume in drive C has no label.&lt;br /&gt;
 Volume Serial Number is 70F6-02D7&lt;br /&gt;
&lt;br /&gt;
 Directory of C:\Keil\C51\BIN&lt;br /&gt;
&lt;br /&gt;
12/15/2005  06:11 PM                49 Text1.c&lt;br /&gt;
               1 File(s)             49 bytes&lt;br /&gt;
               0 Dir(s)   2,512,453,632 bytes free&lt;br /&gt;
&lt;br /&gt;
C:\Keil\C51\BIN&amp;gt;c51 Text1.c&lt;br /&gt;
&lt;br /&gt;
C51 COMPILER V8.01 - SN: Eval Version&lt;br /&gt;
COPYRIGHT KEIL ELEKTRONIK GmbH 1987 - 2005&lt;br /&gt;
*** WARNING C500 IN LINE 1 OF TEXT1.C: LICENSE ERROR (R225: REGISTRATION FILE &amp;#39;T&lt;br /&gt;
OOLS.INI&amp;#39; NOT FOUND)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C51 COMPILATION COMPLETE.  1 WARNING(S),  0 ERROR(S)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ERROR C318</title><link>https://community.arm.com/thread/123088?ContentTypeID=1</link><pubDate>Fri, 16 Dec 2005 07:23:15 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:0a3789d9-1289-4b1d-a3ed-449c4488249f</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;show the results of both commands:&lt;br /&gt;
&lt;pre&gt;C:\Keil\C51\BIN&amp;gt;dir text1.c
C:\Keil\C51\BIN&amp;gt;c51 text1.c&lt;/pre&gt;
&lt;br /&gt;
BTW: It is not generally a good idea to have your work files in the same folder as your tool executables!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ERROR C318</title><link>https://community.arm.com/thread/111867?ContentTypeID=1</link><pubDate>Fri, 16 Dec 2005 02:05:37 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:aea35a58-2dff-4eab-b937-fec9b238fe6b</guid><dc:creator>sri D</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;
   After typing DIR Text1.c the following....&lt;br /&gt;
&lt;br /&gt;
C:\Keil\C51\BIN&amp;gt;dir text1.c&lt;br /&gt;
 Volume in drive C has no label.&lt;br /&gt;
 Volume Serial Number is 70F6-02D7&lt;br /&gt;
&lt;br /&gt;
 Directory of C:\Keil\C51\BIN&lt;br /&gt;
&lt;br /&gt;
12/15/2005  06:11 PM                49 Text1.c&lt;br /&gt;
               1 File(s)             49 bytes&lt;br /&gt;
               0 Dir(s)   2,564,460,544 bytes free&lt;br /&gt;
&lt;br /&gt;
regard&amp;#39;s&lt;br /&gt;
srikanth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ERROR C318</title><link>https://community.arm.com/thread/97720?ContentTypeID=1</link><pubDate>Fri, 16 Dec 2005 01:28:07 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:ffc5b573-3f88-49d2-b0fa-9b37b34e68d6</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;i&gt;&amp;quot;ERROR C318 : Can&amp;#39;t open the file Text1.c&lt;br /&gt;
&lt;br /&gt;
I typed C51 Text1.c in the command prompt.&amp;quot;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
You are talking about the Windows C:&amp;gt; prompt (&amp;quot;DOS box&amp;quot;), aren&amp;#39;t you?&lt;br /&gt;
&lt;br /&gt;
So what happens if you type &amp;quot;DIR Text1.c&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;&amp;quot;And second one is how can i see the out put of Text1.c (printf statements) in the uVision IDE?.&amp;quot;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
The first step is to build the project.&lt;br /&gt;
If you haven&amp;#39;t built the project yet, you will certainly get no output!&lt;br /&gt;
&lt;br /&gt;
You need to start by reading the uVision &lt;i&gt;Getting Started&lt;/i&gt; Guide, &lt;b&gt;and working through the example projects in it&lt;/b&gt;.&lt;br /&gt;
The examples include a simple &amp;quot;Hello, world&amp;quot; program that does exactly what you require!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ERROR C318</title><link>https://community.arm.com/thread/73717?ContentTypeID=1</link><pubDate>Thu, 15 Dec 2005 22:34:21 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:b6265a02-ed77-4b25-b57c-c56e6b1f7c75</guid><dc:creator>sri D</dc:creator><description>&lt;p&gt;product:C51&amp;amp;8051 Development Tools&lt;br /&gt;
ERROR C318 : Can&amp;#39;t open the file Text1.c&lt;br /&gt;
&lt;br /&gt;
  Hi,&lt;br /&gt;
    When iam Debugging from command prompt the above mentioned error is coming.I typed C51 Text1.c in the command prompt.&lt;br /&gt;
    And second one is how can i see the out put of Text1.c(printf statements) in the uVision IDE?.&lt;br /&gt;
    Could u pls help in this??&lt;br /&gt;
&lt;br /&gt;
regard&amp;#39;s&lt;br /&gt;
srikanth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ERROR C318</title><link>https://community.arm.com/thread/45230?ContentTypeID=1</link><pubDate>Thu, 15 Dec 2005 07:26:18 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:30172588-7b93-46da-afc0-b480ff00fe25</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;i&gt;&amp;quot;... u pls ...&amp;quot;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Is your time really so precious that you can&amp;#39;t afford to type &amp;quot;... you please ...&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;&amp;quot;error C318 is coming&amp;quot;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
What tools are you using (select from the &amp;#39;Product&amp;#39; drop-down list), and what version?&lt;br /&gt;
What does error C318 say?&lt;br /&gt;
Post the full text of the message - use cut-and-paste; do not re-type it.&lt;br /&gt;
&lt;br /&gt;
Read the message literally - it usually tells you exactly what&amp;#39;s wrong!&lt;br /&gt;
&lt;br /&gt;
Have you tried compiling via the uVision IDE?&lt;br /&gt;
uVision tells you the command line that it used.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>