Linker errors happen when the definition of a function or variable that is being used cannot be found. If you have this preprocessor definition somewhere...
#define OS_MAIN main
...and you're doing this...
int OS_MAIN(int argc, char *argv[])
{
return 0;
}
... that is fine, however, if you're using OS_MAIN
instead of main
that won't work. Every program needs a main
. That is where every program starts.