When you first compile and run, you run into the problem of not finding some library files: it is common to run into the compiler error that some library files are missing, so the program will not compile, here
http://download.csdn.net/detail/yesheng0/4519312 provides a solution and library files to download.
At compile run time, I also ran into a problem with the messagebox method, saying what type cannot be converted, actually this is
For Unicode problems, just change this: Project menu ->; Final attribute ->; Configure properties ->; Conventional – & gt; Project default value ->; Unicode changed to Unset.
Haha, even if the program didn’t make an error, when VS still makes this error:
error LNK2019: Unable to resolve the external symbol _gluPerspective@32, / font>>
select “Items” menu –>; Final ‘Attributes’ -> Configure property “->” The linker “- & gt;” Input “- & gt; Add opengl32.lib, glu32.lib, glaux. Lib (note that when adding input, each line has a ) to the “attached dependencies”
Ha ha, oneself sum up once, later forgot to keep oneself to use.
Read More:
- OpenGL learning — problems encountered in compiling OpenGL program for the first time
- Summary of problems encountered in compiling opengl code
- Summary of problems encountered in compiling and installing vtk7 + vs2013 / 2015 + cmake
- Problems encountered in vs2015 configuration using OpenGL environment
- Problems encountered in configuring OpenGL development environment in vs2015
- Some small problems in using vs2017
- |-OpenGL – | some small problems about the glut Library
- Write about the problems and solutions when configuring OpenGL in vs2015
- Problems encountered in running OpenGL
- Problems encountered in VS2010 compilation
- Summary of problems encountered in using OpenGL in QT
- Vs compiling OpenGL project, the solution of unable to open the source file “GL / glaux. H” appears
- A series of problems in configuring OpenGL development environment in vs2015
- Some configuration problems of OpenGL in VS2008
- Solutions to some problems encountered in programming with vs2017
- Record the problems encountered in OpenGL learning
- Record of problems encountered in using vs2017
- DirectX encountered “unresolved external symbol” when compiling on vs2015__ The solution and reason of “vsnwprintf”
- Summary of problems encountered by CodeBlocks + OpenGL
- Some problems and solutions in learning opengl in vs2017