书中的pboimage.c是在image.c基础修改而来的。我运行image.c 程序正常,无报错,但是pboimage.c一会报错。
头文件如下:
#include <gl/glut.h>
#include <gl/glew.h>
#include <stdlib.h>
#include <stdio.h>
。。。
报错为: fatal error C1189: #error : gl.h included before glew.h
还有错误,编译虽然没提示, 但程序中能看出
个函数 显示未定义标识符
大神们 咋解决!!