Suggest to look at the question first
Do not guarantee that all people can use, to tell the truth, the computer is to need patience and perseverance, I have no talent, with three days.
I refer to “Computer Graphics Learning to Program (Using OpenGL and C ++)” here to talk about my files and problems.
Part of the file: https://github.com/Vnicy/Opengl-pathsetting
There is no GLM here, just go to Baidu GLM and put in the include file. (Too many files to upload)
After downloading and unzipping, open a newly created project.
Project – & gt; Property – & gt;
include directory include
brary directory select lib
a>
then se> linker ->; Add the following content to the input modification attached dependency (L is typed in lib with carriage return or semicolon, not identified by comma)
glew32.lib
glew32s.lib
glfw3.lib
soil2-debug.lib
glfw3dll.lib
OpenGL32.lib
Here are some of the problems I encountered :(I tested the first example in the book, which can also be downloaded, the resource address is listed in # 1)
1. Baidu SOIL2 didn’t make file
the solution: supporting resources in the book there is a complete soil file
resource address: https://www.epubit.com/bookDetails?id=UBb600b5af4598
Unable to resolve [email protected] and [email protected] are linkers -> I forgot to add an additional dependency to the input OpenGL32.lib
ah
4>ble to resolve glew initialization
4
4
:
:
:
Read More:
- Summary of problems encountered in compiling opengl code
- Construction of vs2015 OpenGL configuration environment
- Vs2015 OpenGL environment configuration
- Solution to the problem that OpenGL can’t find glew32.dll in vs2019
- (64 bit) OpenGL configuration + vs2017 + glew + glfw
- OpenGL environment configuration
- Configuring OpenGL in Chinese version of VS2010 and problem solving
- OpenGL class library and environment configuration under win10 and vs2015
- How to use higher version of OpenGL SDK in windows?
- Clion MinGW super fast configuration OpenGL development environment
- Configuring OpenGL development environment in win10 + vs2015 (including the method of installing 32-bit and 64 bit libraries)
- Vs compiling OpenGL project, the solution of unable to open the source file “GL / glaux. H” appears
- 1 vs20152017 + OpenGL to configure and draw a white rectangle
- Problems encountered in vs2015 configuration using OpenGL environment
- Vs2013 + glfw + glew configure OpenGL development environment
- OpenGL environment configuration under VS2010 / vs2012 / vs2015
- Glfw configuration
- Visual studio 2019 + OpenGL environment configuration
- Vs2015 configuring OpenGL (glfw Library)
- Configuration of OpenGL development environment under Windows environment, win10 + vs2019 + glfw + glad