Hello, I'm having the next kind of error when linking the application:
undefined reference to 'MyStructure::K_VARIABLE_A
The structure is defined inside "MyStructure.h" as:
[code]struct MyStructure
{
const static int K_VARIABLE_A=1;
const static int K_VARIABLE_B=2;
...
};
[\code]
So my question is: Why I can't access static members from structures or classes using android NDK?. My source code compiles successfully for Windows platform but I get the error mentioned above when compiling for the android platform.
Thanks in advance.


