Linker error on iOS, _main not found?


Im trying to compile the iPad demos from latest HG, but get this linker

Undefined symbols for architecture armv7:

“_main”, referenced from:

  start in crt1.3.1.o

ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see

Anyone know how to fix it?


– “Believe nothing, no matter where you read it, or who said it, no matter
if I have said it, unless it agrees with your own reason and your own
common sense.” – Buddha