求求各位了,小弟急用阿!解决思路

求求各位了,小弟急用阿!
#include <iostream.h>
#include <windows.h>
//#include <stdio.h>
#include <conio.h>
#include <gl/gl.h>
#include <gl/glu.h>
#include <gl/glaux.h>

void   main(void)
{
auxInitDisplayMode(AUX_SINGLE|   AUX_RGBA);
auxInitPosition(0,0,500,500);
//auxInitWindow( "simple ");

glClearColor(0.0f,0.0f,0.0f,0.0f);
glClear(GL_COLOR_BUFFER_BIT);

//glColor3f(1.0,0.0,0.0);
//glRectf(-0.5,-0.5,0.5,0.5);

glFlush();
//_sleep(1000);
cprintf( "please   any   key   to   close   the   window\n ");
getch();
}
此程序能通过编译,但在执行时出错了,具体情况如下:
Linking...
d.obj   :   error   LNK2001:   unresolved   external   symbol   __imp__glFlush@0
d.obj   :   error   LNK2001:   unresolved   external   symbol   __imp__glClear@4
d.obj   :   error   LNK2001:   unresolved   external   symbol   __imp__glClearColor@16
d.obj   :   error   LNK2001:   unresolved   external   symbol   _auxInitPosition@16
d.obj   :   error   LNK2001:   unresolved   external   symbol   _auxInitDisplayMode@4
LIBCD.lib(wincrt0.obj)   :   error   LNK2001:   unresolved   external   symbol   _WinMain@16
Debug/sh.exe   :   fatal   error   LNK1120:   6   unresolved   externals
执行   link.exe   时出错.

sh.exe   -   1   error(s),   0   warning(s)




------解决方案--------------------
应该是缺少库文件加入:
#pragma comment( lib, "******.lib " )
或者:
project--setting--link--library/module
填入 ******.lib

------解决方案--------------------
看看这个吧
http://blog.csai.cn/user1/16781/archives/2006/6412.html
------解决方案--------------------
Linking...
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
Debug/sh1.exe : fatal error LNK1120: 1 unresolved externals
执行 link.exe 时出错.

----------

把工程属性改成 控制台