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:
const static int K_VARIABLE_A=1;
const static int K_VARIABLE_B=2;
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.
Last edited by agsalcedo
on Fri Sep 23, 2011 12:46 am, edited 1 time in total.