1.2 a complementary u>
if after the previous configuration still doesn’t work, can also be so give it a try. Right-click Project-> on an existing Project; Build Option, add the following in Linker Settings:
glut32
opengl32
glu32
winmm
gdi32
glaux
I was a program configuration how can not run up, and then listen to a classmate’s advice, according to his practice, add the above several, and then OK. I don’t know where he found such a scheme. I don’t know if it’s a coincidence, but I’ll write it down first.
1.3 two very tangled problems u>
but painfully two problems, other students basic didn’t meet, I must have met… Compiling is not through, tangled, and then according to the following method to get it done.
All in all a lot of red errors…
define _STDCALL_SUPPORTED
#define _STDCALL_SUPPORTED
#define/stdcall_supported
#define/stdcall_supported
#define/stdcall_supported
#define/stdcall_supported
#define/stdcall_supported
#define/stdcall_supported
#define/stdcall_supported
There you go, just write this at the very beginning of your code.
No. 2
error: redeclaration of c + + built – in type ‘would be’ [- fpermissive]
text will jump out of a code, there are so few lines
use Google search, you can refer to this person to answer the question why
If wchart is already defined (to short for example), butthe
hartdefined macro is not, the line will then be treated as:
t>ef unsigned short short;
Which is a redeclaration of the built-in type. (don’t use the .h btw, it’s not used anymore per standard) is adding defines such that the typedef is not executed, or undef’ing wchar_t if it is a macro such that the typedef is legal.
#define _WCHAR_T_DEFINED
#define _WCHAR_T_DEFINED
#define _WCHAR_T_DEFINED
#define
Then my problem solved so merrily
— — — — — — — — — — — — — — — — — — — — —
the author:
if the Chen “source: CSDN
the original: https://blog.csdn.net/sunny_xsc1994/article/details/44301841
Read More:
- Using the third party OpenGL in codeblock
- Create an OpenGL project in codeblock
- Configuring OpenGL with vs2019
- The solution of configuring OpenGL in vs2017
- Xcode configuring OpenGL
- CodeBlocks configuring OpenGL
- DEVC + + configuring OpenGL
- Configuring OpenGL in Visual Studio
- Configuring OpenGL in Code:: blocks
- Configuring OpenGL in VS
- Problems in configuring OpenGL
- CodeBlocks configuring OpenGL environment
- Configuring OpenGL in Visual Studio 2015
- Vs2015 configuring OpenGL (glfw Library)
- Vs2019 nuget configuring OpenGL
- Vs2015 configuring OpenGL (glfw, glew)
- Vc2010 configuring OpenGL environment
- The simplest course of configuring OpenGL in vs2015
- Cmake error when configuring OpenGL [How to Solve]
- Configuring OpenGL with win 10 + CodeBlocks