Page 1 of 1

clang: error: linker command failed with exit code 1

Posted: Thu Mar 22, 2012 3:17 pm
by Vegerot
Oh noes! I broke it :( I don't even know what I did. Can someone go on Mumble and help me out with this?

Re: clang: error: linker command failed with exit code 1

Posted: Thu Mar 22, 2012 7:17 pm
by nil
Error in itself is too vague, there's no way to help you with this information alone. If you want help, you need to be specific and elaborate.

Re: clang: error: linker command failed with exit code 1

Posted: Fri Mar 23, 2012 4:44 am
by Vegerot
Image

Re: clang: error: linker command failed with exit code 1

Posted: Fri Mar 23, 2012 10:09 am
by nil
I think it's complaining about duplicate main's. Can you also post the code to all the source code files (.cpp)?

Re: clang: error: linker command failed with exit code 1

Posted: Fri Mar 23, 2012 11:11 am
by Vegerot
Oh-yeah-I-kinda-erm...deleted it because I was really frustrated.

But now I have another problem. Basically I'm trying to run something and it says "build completed" but I cannot see where it is. It's really weird. Geeeet. On. Muuumble people!

Edit: Subject: C++ for first language?
Vegerot wrote:Also random links to shit I did today. http://www.mediafire.com/?2yibexj41ihbhlj (written by my teacher, but he wants us to use this in our app) http://www.mediafire.com/?vebk24trdh7491j (MY first application!!! I'm pretty sure I broke it during the last 30 seconds of class, but didn't have time to compile my changes so I couldn't check) http://www.mediafire.com/?czwz4xgi4251i0e (along with the past link are the first things I've made. I forget exactly what the different between these two are, guess it's bad to already be mixing my stiff up <.<)