Refuse deep Pits! Records the error of a C + + compilation failure that found more than half a day

Source: Internet
Author: User

The use of new source code, and the original service changes are not very big, but refused to deep pit ah, find a half-day thought is the source of the problem, the result is the environment is the problem, or to thank a God-like character's help

Compile time has been undefined reference to the bug, see the online post one-sided is the reference function did not load in, has been looking for the source of the inheritance of the problem, funk

The conclusion is!!! :

In the environment generated dynamic link library has three, makefile inside quoted the old!!!

So, decisively deleted! Solve the fight! Compile and pass, complete!

Refuse deep Pits! Records the error of a C + + compilation failure that found more than half a day

Related Article

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.