摘要: 问题:error LNK2019: 无法解析的外部符号 _gluPerspective@32参考解决方案:#include gl\gl.h //opengl32.lib#include gl\glu.h //glu32.lib#pragma comment(lib, "OPENGL32.LIB")#pragma comment(lib, "GLU32.LIB")put it in stdafx.h注:#pragma comment使得程序无需在编译器中设置additional lib。参考:http://topic.csdn.net/u/20090320/02/AC82DCB7-8 阅读全文
posted @ 2010-12-15 16:10 Chjun 阅读(530) 评论(0) 推荐(0) 编辑
摘要: 问题:MFC程序移植到64位WIN7时,编译通过,但运行时弹出如下对话框。      解决方法:排除指针由32位变动到64位引起的原因后,将用到的DLL文件放在 syswow64 目录下。参考:http://topic.csdn.net/u/20100815/00/21800B99-EBA8-4605-BBFE-5639A5C6AE40.html 阅读全文
posted @ 2010-12-15 13:55 Chjun 阅读(2364) 评论(0) 推荐(0) 编辑