MFC环境下OpenGL的编译问题
我用MFC编了一个OpenGL的小程序,编译时出现一下错误:
microsoft visual stadio/vc98/include/gl/gl.h(1152)
1, error c2144:syntax error:missing';' before type 'void'
2, errror c2501:'wingdiapi':missing storage-class or type specifiers
3, faotal error c1004:unexpected end of file found
Project/settings/link/object/library modules:中加入了opengl32.lib glu32.lib 等库
Stdafx.h中也加入了相关include文件名;当我再加入#include <windows.h>时,错误变成了Windows.h already include
怎么回事,请教高人!