当前位置:网站首页>[visual studio] visual studio 2019 community version cmake development environment installation (download | install relevant components | create compilation execution project | error handling)
[visual studio] visual studio 2019 community version cmake development environment installation (download | install relevant components | create compilation execution project | error handling)
2022-07-02 10:42:00 【Programmer community】
List of articles
- download
- install CMakeList Related components
- Login account
- Create a running project
- Error handling
download
Download process :
① Enter the official website of Microsoft :https://www.microsoft.com/zh-cn/
② choice Visual Studio Options : It's in the top right corner “ all Microsoft” In the drop-down menu of , choice “Visual Studio” ;
③ Select community version download : In the pop-up screen , choice “Visual Studio IDE” , And then I'm gonna go ahead and download “Community 2019” , This version is a free community version ;
④ After downloading, you can run it directly :
install CMakeList Related components
① The workload in choice “ Use C++ Of Linux Development ” , Check... On the right “ Apply to Linux Of C++ CMake Tools ” ;
② Install individual components : Windows 10 SDK ( 10.0.18362.0 ) , Install the latest Win10 SDK Components ;
③ Install individual components : be used for Windows Of C++ CMake Tools ;
④ Wait for the installation to complete Restart the computer You can use :
Login account
In the pop-up login interface , Click on Sign in Button ;
Click login options :
I'm going to use it directly here GitHub To login :
Enter verification code : The verification code will be sent to the mailbox ;
Create a running project
① Create project : open Visual Studio after , Click to create a new project ;
② Select the project you want to create : Here to create CMake project , stay Android Is the use of CMake To carry out C/C++ Code built ;
③ Enter the project name , And create projects :
④ Compile the project : If installed correctly The workload and Two single components , The project can be successfully compiled through and Executable ;
Error handling
No CMAKE_C_COMPILER could be found. Tell CMake where to find the compiler by setting either the environment variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH. No CMAKE_CXX_COMPILER could be found. Tell CMake where to find the compiler by setting either the environment variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.
CMakeList project development environment Install the following :
- 1. The workload : Need to install 1 individual The workload , Use C++ Of Linux Development ;
- 2. Individual components : Need to install 2 individual Individual components , The above error will occur if the component is missing ;
- ① Windows 10 SDK ( 10.0.18362.0 ) , Install the latest Win10 SDK Components ;
- ② be used for Windows Of C++ CMake Tools ;
- ① Windows 10 SDK ( 10.0.18362.0 ) , Install the latest Win10 SDK Components ;
边栏推荐
- 2021-10-04
- 互联网快讯:腾讯会议应用市场正式上线;Soul赴港递交上市申请书
- Pytest learning --base
- 快速做出原型
- "Talking about podcasts" vol.352 the age of children: breaking the inner scroll, what can we do before high school?
- STM32 and motor development (upper system)
- Merge ordered sequence
- webUI自动化学习
- Introduction to MySQL 8 DBA foundation tutorial
- Mongodb quickly get started with some simple operations of mongodb command line
猜你喜欢
【虚幻4】从U3D到UE4的转型之路
Sus system availability scale
Blender camera surround motion, animation rendering, video synthesis
两数之和,求目标值
stm32和电机开发(上位系统)
Post disaster reconstruction -- Floyd thought
618再次霸榜的秘密何在?耐克最新财报给出答案
Use WinDbg to statically analyze dump files (summary of practical experience)
【MySQL】连接MySQL时出现异常:Connection must be valid and open
使用Windbg静态分析dump文件(实战经验总结)
随机推荐
Pytest learning --base
UWA报告使用小技巧,你get了吗?(第四弹)
ERROR 1118 (42000): Row size too large (> 8126)
【Lua】常见知识点汇总(包含常见面试考点)
STM32 and motor development (upper system)
12. Process synchronization and semaphore
How to get the password of cpolar?
[tutorial] how to make the Helpviewer help document of VisualStudio run independently
pytest学习--base
webUI自动化学习
Flutter环境配置保姆级教程,让doctor一绿到底
AI技术产业热点分析
Redis set password
【Unity3D】嵌套使用Layout Group制作拥有动态子物体高度的Scroll View
KS009基于SSH实现宠物管理系统
07数据导入Sqoop
Stm32 et développement de moteurs (système supérieur)
VLAN experiment
Deep understanding of redis cache avalanche / cache breakdown / cache penetration
转换YV12到RGB565图像转换,附YUV转RGB测试