What does the following error mean?

collect2.exe: error: ld returned 1 exit status

Search box, top right hand corner of the screen.

Your error message contains more information than just that. Scroll through the output window to see the complete message. The IDE (at least 1.6.6) has a button at the top of the output window to copy the error message. You can then paste it here between code tags if you need more help.

[code] paste your error here [/code] will result in

your pasted error here