miguelsilva94 Posted March 6, 2014 at 08:48 PM Report #547796 Posted March 6, 2014 at 08:48 PM boa noite comecei c com o xcode e tenho-me deparado com erros estranhos que me parecem externos à minha função criada, pois nessa mesma não aparece erros nenhuns. talvez alguma definição do xcode que nao esteja correta. creio que falta adicionar alguns command line, mas nao sei bem como isso funciona. ajuda? Undefined symbols for architecture x86_64: "_main", referenced from: implicit entry/start for main executable ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) Undefined symbols for architecture x86_64: "_main", referenced from: implicit entry/start for main executable ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Knitter Posted March 6, 2014 at 09:14 PM Report #547797 Posted March 6, 2014 at 09:14 PM Estás a misturar arquitecturas e a tentar linkar código em arquitecturas diferentes. Confirma nas bibliotecas que estás a linkar se todas são 64bit.
KTachyon Posted March 7, 2014 at 12:08 AM Report #547818 Posted March 7, 2014 at 12:08 AM Esse é o erro típico quando não tens nenhuma função main. 1 Report “There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.” -- Tony Hoare
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now