当前位置:网站首页>Learning C language from scratch -- installation and configuration of 01 MinGW
Learning C language from scratch -- installation and configuration of 01 MinGW
2022-07-03 09:27:00 【Be immortal without desire】
Problems arise :
c The program needs to run editing (Windows System ),cmd Enter the command , Input :
g++ -v
Show :'gcc' Not an internal or external command , It's not a runnable program Or batch files .
It means that there is no gcc Or no configuration , Has successfully solved , Summarize the method .
01 install MinGW
Go to the website , download MinGW.
https://sourceforge.net/projects/mingw/
After downloading , Direct operation .exe Program .
my MinGW The installation directory is C:\MinGW , It can be modified , But be sure to remember the installation path !!!
Click to continue , After installation , Right click on the Mark for Installation Go to the following page .
choice gcc .( I have installed it before , So it doesn't show , Just follow the steps directly )
Click on the top left Installation Medium Apply changes , Just wait for the installation to complete .
02 MinGW Configuration of
Configure environment variables , Use the previous installation path ( My is C:\MinGW)
Get into : My computer —— attribute —— Advanced system setup -—— environment variable —— System variables
Path:C:\MinGW\bin
LIBRARY_path:C:\MinGW\lib
C_INCLUDE_PATH:C:\MinGW\include
( When looking for information, I found that some students have Install Folder , You can check before configuring ,bin Whether the folder is directly under the installation path )
03 Check the configuration
Open the terminal , Enter the installation MinGW The catalog of bin Under the folder
Enter the command : “mingw-get install gcc g++”
Enter the command : “g++ -v” , If you find the following list of things, the configuration is successful .
Successfully solved !!!
边栏推荐
- [advanced feature learning on point clouds using multi resolution features and learning]
- Beego learning - JWT realizes user login and registration
- Spark 集群安装与部署
- Install third-party libraries such as Jieba under Anaconda pytorch
- WARNING: You are using pip version 21.3.1; however, version 22.0.3 is available. Prompt to upgrade pip
- Jenkins learning (I) -- Jenkins installation
- Crawler career from scratch (IV): climb the bullet curtain of station B through API
- Liteide is easy to use
- Logstash+jdbc data synchronization +head display problems
- Jenkins learning (III) -- setting scheduled tasks
猜你喜欢
2022-1-6 Niuke net brush sword finger offer
2022-2-13 learning the imitation Niuke project - home page of the development community
Jenkins learning (II) -- setting up Chinese
Liteide is easy to use
Go language - Reflection
Vscode编辑器右键没有Open In Default Browser选项
Move anaconda, pycharm and jupyter notebook to mobile hard disk
LeetCode每日一题(1162. As Far from Land as Possible)
Introduction to the basic application and skills of QT
[kotlin puzzle] what happens if you overload an arithmetic operator in the kotlin class and declare the operator as an extension function?
随机推荐
LeetCode每日一题(1362. Closest Divisors)
LeetCode每日一题(1024. Video Stitching)
[point cloud processing paper crazy reading classic version 7] - dynamic edge conditioned filters in revolutionary neural networks on Graphs
Detailed steps of windows installation redis
The server denied password root remote connection access
CSDN markdown editor help document
Crawler career from scratch (3): crawl the photos of my little sister ③ (the website has been disabled)
LeetCode每日一题(2232. Minimize Result by Adding Parentheses to Expression)
【Kotlin学习】类、对象和接口——定义类继承结构
[kotlin learning] classes, objects and interfaces - define class inheritance structure
[point cloud processing paper crazy reading frontier version 8] - pointview gcn: 3D shape classification with multi view point clouds
LeetCode每日一题(2109. Adding Spaces to a String)
IDEA 中使用 Hudi
Hudi 集成 Spark 数据分析示例(含代码流程与测试结果)
Severity code description the project file line prohibits the display of status error c2440 "initialization": unable to convert from "const char [31]" to "char *"
PolyWorks script development learning notes (II) -treeview basic operations
Jenkins learning (I) -- Jenkins installation
Bert install no package metadata was found for the 'sacraments' distribution
Idea uses the MVN command to package and report an error, which is not available
On February 14, 2022, learn the imitation Niuke project - develop the registration function