问题描述细节:编译方式中debug、release和静态配置全部使用过,都是undefined symbols的问题。
另外,我读了freeglut项目中的说明文档,有这么一个提示:
Windows Questions
======= =========
(1) My linking fails due to undefined symbols. What libraries do I need to link?
All the required libraries (and a couple of unnecessary ones) should be automatically included thanks to the "#pragma comment (lib" statements in "freeglut_std.h". If your linking fails due to undefined symbols, there is an excellent chance that "freeglut" is not the culprit.
请兄弟们指点从何下手。我主要查询了freeglut_std.h,在里面有几个prgama comment,不过不会看对不对。
编译环境:VS2010
freeglut版本:2.8.0
freeglut来源:CSDN移动问答
用途:学习OpenGL Superbible 5th