当前位置:网站首页>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
边栏推荐
- 正反斜杠笔记
- Cautious speculation about fusion on Apple silicon
- A NOVEL DEEP PARALLEL TIME-SERIES RELATION NETWORK FOR FAULT DIAGNOSIS
- qt自定义滑动按钮(美观且使用方便)
- How to use the bit error meter?
- Perl入门学习(九)引用
- Pytorch learning notes 1 - quick start
- VS Code 基础配置与美化
- QT custom sliding button (beautiful and easy to use)
- USB network native driver for esxi updated to support esxi7.0.1
猜你喜欢

Five categories of IP addresses

Matlab 信号处理

qt批量操作控件,并设置信号槽

USB network native driver for esxi updated to support esxi7.0.1

Exploration of Clickhouse aggregation internal mechanism of aggregation

Transformer self attention mechanism and complete code implementation

量化交易机器人系统开发

Word自动目录字体修改和行间距的问题

ICC2(三)Clock Tree Synthesis

qt设置加载界面的几种方法
随机推荐
【服务器使用记录】通过跳板机登录远程服务器并进行文件传输
How can fluke dsx2-5000 and dsx2-8000 modules find the calibration expiration date?
PyTorch 学习笔记 1 —— Quick Start
Relative path and absolute path
Use and safe shutdown of qthread thread in QT
Filter
qt解决每次修改完ui文件都要重新构建的问题
Monitor the CPU temperature of raspberry pie 4B installed with esxi on ARM
Machine learning note 5 - logistic regression
clickhouse建宽表多少列最合适?
当mysql表从压缩表变成普通表会发生什么
How to test industrial Ethernet cables (using fluke dsx-8000)?
Matlab simulation of radar imaging 3 - multi-target detection
Hugging face 的问题记录 I
Efficient Net_ V2
mixup_ ratio
Problems of font modification and line spacing in word automatic directory
Matlab 信号处理
QT custom sliding button (beautiful and easy to use)
我的部署笔记