当前位置:网站首页>Installation and configuration of MinGW under win10
Installation and configuration of MinGW under win10
2022-04-23 03:38:00 【Ling Xi】
download MinGW Install Manager
Enter official website
MinGW Official website
Click on the top right corner download, Loading may be a little slow , Wait a moment .
Click to download as shown in the figure .
Download the install install
Click on change Select the directory you want to install ,continue continue .
Waiting for download , Click... When the download is complete continue continue .
Now? MinGW Install Manager And then there is , Can be formally installed MinGW 了
install MinGW
After installing the manager in the previous step, a shortcut will be automatically created on the desktop , Double-click to open .
Used to manage installed components or add new components .
ps: If the desktop cannot find a shortcut It can be used Search for mingw
stay basic step All the choices inside , Right click mark for installation, Then the front box will show a yellow arrow ( I download it here )
top left corner installation——>Apply Changes
single click Apply Download ,Discard You can close the window and go back to the management interface to reselect the components you need .
Wait patiently for a while , The download , Click on close close . You will see the boxes in front of the components turn green .
The compiler is now installed , All components are bin In the folder . But I can't compile yet C/C++, Environment variables need to be configured .
Configure environment variables
Search for advanced system settings in the lower right corner
senior ——> environment variable
find Path, Of user variables and system variables path Fine , Double-click to open .
newly build , The folder where the component will be located bin Paste the path of .
To find you MinGW The installation path of is open bin Folder , Copy the current directory .
Click ok , Don't point at the top right corner X. I'll be sure .
The environment variables are configured , Test for success .
test
Win+R Turn on run , Input cmd determine .
Input g++ perhaps g++ , Hit enter (Enter).
If there is tal error The words say MinGW Configuration worked , You can compile C/C++ 了 .
This passage shows that we have not specified , So you can't compile . Although the report is wrong , But it also says g++/gcc Installation successful .
You can also enter gcc -v
perhaps g++ -v View version
版权声明
本文为[Ling Xi]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204220601418626.html
边栏推荐
- Identifier, keyword, data type
- 深度學習筆記(二)——激活函數原理與實現
- mui. Plusready does not take effect
- Several common methods of multithreading
- Learn about I / O flow and file operations
- Unity knowledge points (ugui 2)
- you need to be root to perform this command
- If statement format flow
- Punch in: 4.23 C language chapter - (1) first knowledge of C language - (12) structure
- The art of concurrent programming (5): the use of reentrantlock
猜你喜欢
Deep learning notes (II) -- principle and implementation of activation function
7-1 introduction to finance
Database SQL -- simulate inserting a large amount of data, importing / exporting database scripts, timestamp conversion and database basics
Codeforces Round #784 (Div. 4)题解 (第一次AK cf (XD
Unity basics 2
Basic usage of Google colab (I)
Unity knowledge points (common core classes)
Common auxiliary classes
PyMOL usage
Visual programming - drawing assignment
随机推荐
Applet - WXS
C-10 program error correction (recursive function): number to character
Visual programming -- how to customize the mouse cursor
Unity basics 2
ROS series (IV): ROS communication mechanism series (6): parameter server operation
Commonly used classes
According to the category information and coordinate information of the XML file, the category area corresponding to the image is pulled out and stored in the folder.
抽象类、接口、常用关键字
Database - MySQL -- Navicat import SQL error 1067 - invalid default value for 'paydate‘
Seekbar custom style details
Notes sur l'apprentissage profond (Ⅱ) - - Principe et mise en oeuvre de la fonction d'activation
Digital image processing third edition Gonzalez notes Chapter 2
打卡:4.22 C语言篇 -(1)初识C语言 - (11)指针
Vs studio modifies C language scanf and other errors
Deep learning notes (II) -- principle and implementation of activation function
What to pay attention to when writing the first code
Problem B: small challenge
常用的辅助类
2022 group programming ladder simulation l2-1 blind box packaging line (25 points)
Concepts of objects and classes