title: gcc-4.2 failed with exit code 1 iphone
body: <p>I've seen this error with different variations on discussion forums but being a non programmer I'm not sure how to progress this.</p>
  
  <p>Basically I have code which I found to help me with changing the background colors of cells on a grouped uitableview. The code introduced a line as such:</p>
  
  <pre><code>CGContextAddArcToPoint(c, minx, miny, midx, miny, ROUND_SIZE);
  </code></pre>
  
  <p>This gave an error indicated that it wasn't declared, so I added to my .h file the following under import uikit:</p>
  
  <pre><code>#import &lt;UIKit/UIKit.h&gt;
  #define ROUND_SIZE 10
  </code></pre>
  
  <p>Now it shows that I have an error:</p>
  
  <p>Command/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1 iphone</p>
  
  <p>Some discussions talk about libraries but because I don't have a programming background I don't understand what to do. I also see that some people show a log output but I'm not sure where that comes from as I don't get any debug windows because I'm guessing it doesn't get that far. I simply click 'Build and Go' and I get this error in the Message window.</p>
  
  <p>Any thoughts?</p>