|
|
发表于 2006-8-26 20:06:00
|
显示全部楼层
Re:初学glut,一个小问题
楼上的瞎说 我看过文档说 the stupid windows needs to include <windows.h> before <glut.h> 但是现在忘了在哪里看到的 没法给你依据 而且这个问题我遇到过,因为没有包含windows.h不能通过,
这个是glut.h的内容 没有windows.h
1 #ifndef __glut_h__
2 #define __glut_h__
3
4 /* Copyright (c) Mark J. Kilgard, 1994, 1995, 1996. */
5
6 /* This program is freely distributable without licensing fees and is
7 provided without guarantee or warrantee expressed or implied. This
8 program is -not- in the public domain. */
9
10 #include <GL/gl.h>
11 #include <GL/glu.h>
12
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16
17 /*
18 * GLUT API revision history: |
|