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 _imp_glClear@4 and _imp_glClearColor@16 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:
- C / C + + cannot open the source file directory, the header file is not imported, the solution is as follows
- Vs compiling OpenGL project, the solution of unable to open the source file “GL / glaux. H” appears
- Error in header file when calling OpenGL to open obj file in vs2013: unable to open include file: “GL / glut. H”: no such file or directories
- make modules_ Install compiles the kernel driver as a module, and the location of. Ko file in the root file
- Solution of vs unable to open source file and link library file
- Numpy error: oserror: failed to interpret file as a pickle
- Vs2019 OpenGL glut: error: unable to open include file: ‘GL / glut. H’: no such file or directory
- A fatal error C1083 occurred when compiling C + + code under. Net: unable to open the include file: “xuhk”_ Jnihelloworld. H “: solution to no such file or directory error.
- It will appear as soon as it is turned on BTServer.exe -Application error (0xc0150002)
- The Vue project is packaged and deployed to tomcat, and an Error 404 is reported as soon as it is refreshed
- OpenGL, such as glad library and glfw library, is incompatible
- Connection for controluser as defined in your configuration failed.
- Solution of VS2008 unable to open GL / glaux. H header file
- How to Fix ubuntu phpmyadmin error: “Connection for controluser as defined in your configuration failed”
- #During OpenGL development, fatal error C1083: can’t open include file: “GL / glut. H”: no such file or directory
- How to solve the problem of “unable to open include file:” graphics. H “: no such file or directory”
- Springboot error, unable to read configuration file: could not resolve placeholder ‘xxx’ in value “${XXX}
- Connection for controluser as defined in your configuration failed phpmyadmin xampp
- VC + + OpenGL is used as the development platform to design the program, which can generate any pixel on the screen, and use the pixel to draw the basic graphics
- N: Ignoring file ’50unattended-upgrades.ucf-dist’ in directory ‘/etc/apt/apt.conf.d/’ as it has an i