错误 1 error C1060: 编译器的堆空间不足 c:\program files (x86)\microsoft visual studio 11.0\vc\include\gl\glew.h 84 1 ConsoleApplication8
解决方案:
#if defined(__gl_h_) || defined(__GL_H__) || defined(__X_GL_H)
#error gl.h included before glew.h
#include <GL/glew.h>
#include <GL/glut.h>glew.h 写在 glut前面。
错误
1>ConsoleApplication8.obj : error LNK2019: 无法解析的外部符号 __imp__glewInit@0,该符号在函数 "void __cdecl init(void)" (?init@@YAXXZ) 中被引用
1>ConsoleApplication8.obj : error LNK2019: 无法解析的外部符号 __imp__glewGetErrorString@4,该符号在函数 "void __cdecl init(void)" (?init@@YAXXZ) 中被引用
1>ConsoleApplication8.obj : error
解决C++项目中GLEW和GLUT库解析外部符号失败问题

最低0.47元/天 解锁文章
8047





