当前位置:网站首页>OpenGL development environment configuration [vs2017] + frequently asked questions
OpenGL development environment configuration [vs2017] + frequently asked questions
2022-07-28 06:33:00 【SCHLAU_ tono】
Detailed configuration of the article :
Reference resources 1:OpenGL Development environment configuration (Windows) - Visual Studio 2017 + GLFW + GLAD Detailed picture and text course
Reference resources 2:OpenGL+VS2017 Environment configuration
Reference resources 3:[OpenGL] To configure GLFW
The configuration process is described in detail in this article , I will mainly mention some pitfalls encountered in the configuration
- Create a new empty project , If new Windows Console Application , The program will automatically contain pch.h The header file , You must negotiate at the beginning of the source file
#include"pch.h"Or other precompiled headers , And later introduced GLEW,GLFW There are inexplicable mistakes , So create an empty project . E0035 #error Instructions : OpenGL header already included, remove this include, glad already provides itThere are two solutions :
2.1 Delete the third lineglad.hThe header file , Header file definition conflict
2.2 This method is rough , I saw it on the Internet : stayglad.hNote out in the documenterror:OpenGL header already included, remove this include, glad already provides itGL_COLOR_BUFFER_BITEtc. variables cannot be defined :
resolvent : takeiostream.hThe file is placed at the end of the header file
边栏推荐
- What happens when MySQL tables change from compressed tables to ordinary tables
- Shuffle Net_ v1-shuffle_ v2
- How many columns are the most suitable for Clickhouse to build a width table?
- 我的部署笔记
- qt实现将相关信息输出到日志文件
- MySQL join skills
- NPM yarn related operations
- MySQL delete tables without deleting databases
- 量化交易机器人系统开发
- Why should fluke dsx2-5000 network cable tester be calibrated once a year?
猜你喜欢

Detailed explanation of word mail merge function: after merging, multiple word documents are generated and blank pages are deleted

Matlab simulation of radar imaging 2 - pulse compression and windowing

error: redefinition of ‘xxx‘

Esxi on arm 10/22 update

Cronbach’s α? Kmo coefficient? Factor load? The most understandable course of questionnaire reliability and validity analysis in history!!! (SPSS and AMOS)

自定义组件--样式

Weight decay

雷达成像 Matlab 仿真 3 —— 多目标检测

基于 YOLOV5 的 SAR 图像舰船检测

Talking about fluke optical cable certification? What is CFP? What is OFP?
随机推荐
mysql join技巧
My notes
自定义组件--父子组件之间的通信
clickhouse聚合之内存不足怎么办?那就提升聚合性能
雷达成像 Matlab 仿真 2 —— 脉冲压缩与加窗
Pytorch learning notes 3 - datasets & dataloaders & transforms
VAN(DWConv+DWDilationConv+PWConv)
Pytorch learning note 4 - automatic calculation of gradient descent autograd
What happens when MySQL tables change from compressed tables to ordinary tables
小程序navigator无法跳转(debug)
Cronbach’s α?KMO系数?因子载荷?史上最易懂的问卷信效度分析教程!!!(SPSS和AMOS)
qt实现将相关信息输出到日志文件
qt中Qthread线程的使用以及安全关闭
Vscode中,无法打开源文件 “Adafruit_GFX.h“
EMC experiment practical case ESD electrostatic experiment
How can fluke dsx2-5000 and dsx2-8000 modules find the calibration expiration date?
Machine learning note 5 - logistic regression
USB network native driver for esxi updated to support esxi7.0 Update 2
Talk about the "hybrid mode" of esxi virtual switch and port group
Listener