1> link: Fatal error lnk1181: cannot open input file 'xxx. OBJ'

Source: Internet
Author: User

I was almost killed by a very low-level problem recently and can easily describe it clearly, so it must be recorded.

I downloaded a demo from someone else a few days ago, and then configured the compilation to run normally under Debug. The release configuration was basically copied, And the Link error occurred during compilation.

1> link: Fatal error lnk1181: cannot open input file 'xxx. OBJ ',It took two days to discover the problem. The reason is very simple, that is, when you add (copy) dependent libraries, you may mistakenly put this XXX. lib suffix ". "lib" was lost, so I reported an error. I was so confused that I wanted to find a wall and hit it ......

I hope no one will make the same mistake !!!!!!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.