Look at the error message:
1>LINK : warning LNK4012: invalid value 'D_LIB.LIB/DEFAULTLIB:G_LIB.LIB/DEFAULTLIB:K_LIB.LIB/DEFAULTLIB:P_LIB.LIB/DEFAULTLIB:X_LIB.LIB', must be 'ARM, EBC, IA64, MIPS, MIPS16, MIPSFPU, MIPSFPU16, SH4, THUMB, X64, or X86'; option ignored
Your build is missing some required librar(y/ies), or some options are wrong.