 <p>Just assuming: did you put a <code>;</code> at the end of the <code>#define</code> ? Remove that, it will be put where you use <code>MAXZOOM</code>. </p> <p>So instead of</p> <pre><code>#define MAXZOOM 2.0f; </code></pre> <p>make it</p> <pre><code>#define MAXZOOM 2.0f </code></pre>