简体   繁体   中英

WHy am I keep getting an error message or build error message?

I am using VS 2010 express but everytime when I open something in Win32 cosole application or any other projects, I keep getting build error. But everytime I start my new project with Empty Project, it always works well...nothing but Empty Project works. BTW, I coded properly and even used sample Win32 console application source codes and it still gives me an error. Is there something wrong with my computer setting?

------ Build started: Project: rwtwtwtwtw, Configuration: Debug Win32 ------
dfgdfgdf.cpp
LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

If you search for LNK1123, you will find that it is very frequently caused by having VS2010 installed along with another version if Visual studio (googling for strange error codes is a useful technique!). If you have this situation, it appears that upgrading VS2010 to service pack 1 will fix it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM