2012-03-10 63 views
0
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),但它不想鏈接。請幫忙。在Eclipse中鏈接SDL項目

回答

0

我發現that link人們試圖鏈接與你相同的東西。它可能會幫助你,在他們的情況下,解決方案是there