当前位置:网站首页>Initial environment configuration of the list of OpenGL super classic (version 7) vs2019
Initial environment configuration of the list of OpenGL super classic (version 7) vs2019
2022-06-30 05:01:00 【Jason_ Chen__】
List of articles
List of articles
Preface
OpenGL Super treasure ( The first 7 edition ) Sample resources :https://download.csdn.net/download/Jason_Chen__/79844696
Due to work needs opengl Related knowledge , Make a note of opengl Super treasure (7th) The results of learning , This chapter focuses on the initial environment configuration of the inventory , The list in the book refers to examples .
Compile environment
VS 2019
Cmake 3.21.3
One 、 Overview of compilation steps
To compile the first glfw-3.0.4, stay */sb7code-master/bin Add below media The files in the files , In the root directory of the compiled book .
Two 、 The detailed steps
1. compile glfw-3.0.4
1. First in */sb7code-master/extern/glfw-3.0.4 New under the directory build and install Folder .
2. then */sb7code-master/extern/glfw-3.0.4 Next CMakeLists.txt Modify to suit yourself cmake Version of .
3. And then there was cmake Compile , Modify the red box , Last two clicks Configure, once Generate.
4. Use VS2019 open .
5. First step :ALL_BUILD Right click and click generate , The second step :INSTALL Right click and click generate (Debug Pattern ).
6. take */sb7code-master/extern/glfw-3.0.4/install/lib In the catalog glfw3.lib Copied to the */sb7code-master/lib And renamed glfw3_d.lib.
2. Compile manifest project
1. stay */sb7code-master New under the directory build Folder .
2. take */sb7code-master/extern/glfw-3.0.4 Next CMakeLists.txt Modify to suit yourself cmake Version of .
3. open cmake, Click twice Configure, once Generate.
3. Get into */sb7code-master/build Folder usage vs2019 open superbible7.sln.
4. Get into VS2019 after ,ALL_BUILD Right click and click generate , Finally, select one of the sub projects , Right click to start the project ,Ctrl+F5 Can run .
5. If you make a mistake , Then all the cpp Import... Into the file media The relative path of the file under the folder is changed to the absolute path .
边栏推荐
- 【Paper】2017_ Research on coordinated control method of underwater vehicle formation marine survey
- Unrealeengine4 - about uobject's giant pit that is automatically GC garbage collected
- A virtual reality secret room escape adventure, let you see Technology Singapore
- Meet in Bangkok for a romantic trip on Valentine's Day
- Efficiency test of adding and querying ArrayList and LinkedList
- Pit of smoothstep node in shadergraph
- C # Foundation
- Force buckle 704 Binary search
- HTC vive cosmos development - handle button event
- 【VCS+Verdi联合仿真】~ 以计数器为例
猜你喜欢

National Museum of Singapore - give you spiritual and physical satisfaction

Efficiency test of adding and querying ArrayList and LinkedList

Meet in Bangkok for a romantic trip on Valentine's Day

Have a heart beating Valentine's day in Singapore

力扣209. 长度最小的子数组

Approaching history, introduction to the London Guard Museum

【VCS+Verdi联合仿真】~ 以计数器为例

Some books you should not miss when you are new to the workplace

【Paper】2021_ Observer-Based Controllers for Incrementally Quadratic Nonlinear Systems With Disturbanc

為什麼win10開熱點後電腦沒有網絡?
随机推荐
brew安装nvm报nvm command not found解决方案
JPA composite primary key usage
Is the Flink connector JDBC open source? Where can I download it
MySQL查询小工具(一)json格式的字符串字段中,替换json数组中对象的某个属性值
Deep learning ----- different methods to realize inception-10
Autowired注解警告的解决办法
Unity/ue reads OPC UA and OPC Da data (UE4)
Force buckle 977 Square of ordered array
Passing values between classes using delegates and events
Introduction to some representations, neighbors and degrees of Graphs
Connect to the database and run node JS running database shows that the database is missing
National Museum of Singapore - give you spiritual and physical satisfaction
图的一些表示方式、邻居和度的介绍
Solution to Autowired annotation warning
力扣977. 有序数组的平方
HTC vive cosmos development - handle button event
Using the command line to convert JSON to dart file in fluent
力扣2049:统计最高分的节点数目
Unity is associated with vs. there is a compiler problem when opening
【VCS+Verdi联合仿真】~ 以计数器为例