Hello guys,
i've wrote a question before this in which i ask how to install Allegro on Xcode, but i have a problem... (I did the things that i need to do in xcode) When i add the allegro library "#include <allegro5/allegro.h>" not give me an error, but when i want to compile the code gives me two errors:
Undefined symbols for architecture i386:
"_main", referenced from: // Here give me an error
implicit entry/start for main executable
(maybe you meant: __Z16_al_mangled_mainiPPKc)
ld: symbol(s) not found for architecture i386
clang: error:
linker command failed with exit code 1 (use -v to see invocation) // and also here
Was a command line tool, but i didn't put the code of allegro in my code, i only add the library to my project... Ah, and i change the architecture to try if goes well.