android: Unable to access struct static data members
<p>I'm having the next kind of error when linking the application:</p>

<pre><code>undefined reference to 'MyStructure::K_VARIABLE_A
undefined reference to 'MyStructure::K_VARIABLE_B
...
</code></pre>

<p>The structure is defined inside "MyStructure.h" as:</p>

<pre><code>struct MyStructure
{
const static int K_VARIABLE_A=1;
const static int K_VARIABLE_B=2;
...
}
</code></pre>

<p>How can i get rid of this error?</p>

<p>My source code compiles successfully for Windows platform but I get the error mentioned above when compiling for the android platform. </p>

<p>The header of this structure is properly included in the .cpp file.</p>

<p>Thanks in advance.</p>
