 <p>static member variables have to be initialized explicitly at the module level. Add something like the following in your <em>cpp</em> file:</p> <pre><code>int Powerup_Health::g_refCount = 0; </code></pre>