[ERROR]
The specified function was already declared with a different linkage specifier. This error can be caused by different linkage specifiers found in include files.
int f(int i);
extern "C" int f(int i);
Use the same linkage specification for the same function/variable.