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

posted @ 2013-09-17 15:05  qingsun_ny  阅读(265)  评论(0编辑  收藏  举报