Undefined symbols for architecture x86_64:
"_main", referenced from:
start in crt1.10.6.o
(maybe you meant: _SDL_main)
ld: symbol(s) not found for architecture x86_64
这是我在Eclipse中得到的。试图链接-lSDLmain,包含SDL.h和SDL_image.h文件,主要用于参数 - int main(int argc, char ** argv)
,但它不想链接。请帮忙。