To avoid the error with freeglutd.lib, you can add NDEBUG in :
[C/C++] [Preprocessor] [Preprocessor Definitions]
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
i don't why it doesn's work, and where is 'freeglutd.lib' in test code
https://www3.ntu.edu.sg/home/ehchua/programming/opengl/HowTo_OpenGL_C.html
To avoid the error with freeglutd.lib, you can add NDEBUG in :
[C/C++] [Preprocessor] [Preprocessor Definitions]
sorry for my delay, i added lib and include directory but still doesn's work with me.
my test code is work now because I add fild "freeglut.lib" in folder MinGW/lib .Thanks Castorix31 for all your kind, you was helped me alot.