glut编译问题 (程序无法运行)

参考:http://blog.csdn.net/robinjwong/article/details/5636049

error: the procedure entry point _glutinitwithexit could not be located in the dnamic link library

solution:
Try define the following line right before including the header, glut.h.

#define GLUT_DISABLE_ATEXIT_HACK

原文地址:https://www.cnblogs.com/qingsunny/p/3326301.html