当前位置:网站首页>[visual studio 2019] create and import cmake project
[visual studio 2019] create and import cmake project
2022-07-02 11:46:00 【Programmer community】
List of articles
- I . establish CMake project
- II . Import CMake project
- III Open new project Build solution error
First, follow the previous blog 【Visual Studio】Visual Studio 2019 Community Edition CMakeList Development environment installation ( download | Install related components | Create compilation execution project | Error handling ) Installation development environment , Then on the basis of the above , Make this blog content ;
I . establish CMake project
open Visual Studio , Click on the right " Create a new project ( N ) " Options ;
In the new dialog box , Choose to create " CMake project " ;
Enter the project name , Select the project build directory ;
After entering the project interface , wait for 1 ~ 2 minute , Wait for the first compilation to pass , Build solution ;
Click the run button under the menu bar , Run the program ;
II . Import CMake project
In the welcome interface , choice " Open local folder ( F ) " ,
Select the root directory of the project , Then click Select folder ;
Enter the interface and wait for the project to compile , You can run ;
III Open new project Build solution error
Change the location of the project , Re import , There will be various errors in compilation , You need to delete the division here Source code All other files , recompile that will do ;
Delete the following .vs and out Two directories , And then in VS Open in , Can be compiled through ;
边栏推荐
- mysql 基本语句
- 抖音海外版TikTok:正与拜登政府敲定最终数据安全协议
- 对毕业季即将踏入职场的年轻人的一点建议
- 6. Introduce you to LED soft film screen. LED soft film screen size | price | installation | application
- ROS lacks catkin_ pkg
- Tiktok overseas tiktok: finalizing the final data security agreement with Biden government
- 从ros1到ros2配置的一些东西
- MySQL comparison operator in problem solving
- How to Create a Beautiful Plots in R with Summary Statistics Labels
- How to Create a Nice Box and Whisker Plot in R
猜你喜欢
解决uniapp列表快速滑动页面数据空白问题
【云原生】2.5 Kubernetes 核心实战(下)
在连接mysql数据库的时候一直报错
Is the Ren domain name valuable? Is it worth investing? What is the application scope of Ren domain name?
MTK full dump grab
可昇級合約的原理-DelegateCall
Attribute acquisition method and operation notes of C # multidimensional array
GGPLOT: HOW TO DISPLAY THE LAST VALUE OF EACH LINE AS LABEL
6方面带你认识LED软膜屏 LED软膜屏尺寸|价格|安装|应用
【2022 ACTF-wp】
随机推荐
GGPlot Examples Best Reference
【云原生】2.5 Kubernetes 核心实战(下)
Compilation errors and printout garbled problems caused by Chinese content in vs2019 code
GGPUBR: HOW TO ADD ADJUSTED P-VALUES TO A MULTI-PANEL GGPLOT
Cluster Analysis in R Simplified and Enhanced
How to Visualize Missing Data in R using a Heatmap
C # method of obtaining a unique identification number (ID) based on the current time
原生方法合并word
C#基于当前时间,获取唯一识别号(ID)的方法
Esp32 audio frame esp-adf add key peripheral process code tracking
Bedtools tutorial
Pyqt5+opencv project practice: microcirculator pictures, video recording and manual comparison software (with source code)
C#多维数组的属性获取方法及操作注意
制造业数字化转型和精益生产什么关系
The position of the first underline selected by the vant tabs component is abnormal
进入前六!博云在中国云管理软件市场销量排行持续上升
The difference between SQL left join main table restrictions written after on and where
Native method merge word
What are the methods of adding elements to arrays in JS
Some things configured from ros1 to ros2