And out of that giant wall of text, here is the one important line:
Code:
6>LINK : fatal error LNK1181: cannot open input file 'mysql.h'
Are you sure you didn't maybe paste something in the wrong spot? The linker should never be trying to open a .h file unless you added it accidentally to the additional dependencies.