无法解析的外部符号 __imp____glutCreateWindowWithExit@8
解决方法:
在代码中只要出现#include glut.h就必须要在此之前加上#define GLUT_DISABLE_ATEXIT_HACK
注:一定要恰好在#include glut.h之前加入以上代码。
如:
正确用法
#include "stdafx.h"
#include "windows.h"
#define GLUT_DISABLE
转载
2014-03-29 23:28:50 ·
1183 阅读 ·
0 评论