Enable Clion to support c++11 operations logging under Windows

Source: Internet
Author: User

  Recently used under Windows Clion, found that the default installation of the MinGW version is too low, resulting in the GCC version is 3.5, is too old, does not support c++11, so manually modified the MinGW version. First go to MinGW's official website to download the latest-mingw-get-setup.exe executable file, downloaded the time the file name is-mingw-get-setup.exe-r, remove the most back of the-R to start execution. After starting the execution, basically the default installation, but the trouble is that at the end of the installation also need to download a large number of related files, the choice of software installation package called MinGW Installer Manager, is automatically bounced out, select all packages, Then choose Package-apply, you can start to download all the files, because there are too many files, I have downloaded the Hog bar. Next on the clion, file-setting-build,execution,deployment-toolchains,using MinGW Home Specifies the MinGW folder you downloaded for yourself. Once specified, Clion will automatically recognize Make,c complie,c++ compile, but it seems to take a little time, not too fast. When the c++11 mode is turned on by default after recognition, there is no need to add a set statement on Cmakelist.txt like Clion under Linux. If your clion bursts with errors such as able to compile a test, then reinstall clion like me.

Enable Clion to support c++11 operations logging under Windows

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.