Opengl es linkier error

Hi,

i made a simple triangle program in opengl es and gave the corresponding libraries path in additional dependencies in linker option of VS 2005 i am including glutes header file and the code is compiling without any error but gives linking errors like however when i use glut.h the program is executing fine:

can nebody resolve the linking problem :I am stuck man!
1>main.obj : error LNK2019: unresolved external symbol _glShadeModel@4 referenced in function “void __cdecl init(void)” (?init@@YAXXZ)
1>main.obj : error LNK2019: unresolved external symbol _glEnableClientState@4 referenced in function “void __cdecl init(void)” (?init@@YAXXZ)
1>main.obj : error LNK2019: unresolved external symbol _glColorPointer@16 referenced in function “void __cdecl init(void)” (?init@@YAXXZ)
1>main.obj : error LNK2019: unresolved external symbol _glVertexPointer@16 referenced in function “void __cdecl init(void)” (?init@@YAXXZ)
1>main.obj : error LNK2019: unresolved external symbol _glClearColor@16 referenced in function “void __cdecl init(void)” (?init@@YAXXZ)
1>main.obj : error LNK2019: unresolved external symbol _glFlush@0 referenced in function “void __cdecl display(void)” (?display@@YAXXZ)
1>main.obj : error LNK2019: unresolved external symbol _glDrawArrays@12 referenced in function “void __cdecl display(void)” (?display@@YAXXZ)
1>main.obj : error LNK2019: unresolved external symbol _glClear@4 referenced in function “void __cdecl display(void)” (?display@@YAXXZ)
1>main.obj : error LNK2019: unresolved external symbol _glViewport@16 referenced in function “void __cdecl reshape(int,int)” (?reshape@@YAXHH@Z)
1>main.obj : error LNK2019: unresolved external symbol _glLoadIdentity@0 referenced in function “void __cdecl reshape(int,int)” (?reshape@@YAXHH@Z)
1>main.obj : error LNK2019: unresolved external symbol _glMatrixMode@4 referenced in function “void __cdecl reshape(int,int)” (?reshape@@YAXHH@Z)
1>glutes_static.lib(glutes_main.obj) : error LNK2019: unresolved external symbol __imp__eglCreateContext referenced in function ___glCreateContext
1>glutes_static.lib(glutes_main.obj) : error LNK2019: unresolved external symbol __imp__eglGetError referenced in function ___glCreateContext
1>glutes_static.lib(glutes_main.obj) : error LNK2019: unresolved external symbol __imp__eglChooseConfig referenced in function ___glCreateContext
1>glutes_static.lib(glutes_main.obj) : error LNK2019: unresolved external symbol __imp__eglMakeCurrent referenced in function ___glBindContext
1>glutes_static.lib(glutes_window.obj) : error LNK2001: unresolved external symbol __imp__eglMakeCurrent
1>glutes_static.lib(glutes_init.obj) : error LNK2001: unresolved external symbol __imp__eglMakeCurrent
1>glutes_static.lib(glutes_main.obj) : error LNK2019: unresolved external symbol __imp__eglDestroySurface referenced in function ___glDestroySurface
1>glutes_static.lib(glutes_window.obj) : error LNK2001: unresolved external symbol __imp__eglDestroySurface
1>glutes_static.lib(glutes_main.obj) : error LNK2019: unresolved external symbol __imp__eglSwapBuffers referenced in function ___glDestroySurface
1>glutes_static.lib(glutes_menu.obj) : error LNK2001: unresolved external symbol __imp__eglSwapBuffers
1>glutes_static.lib(glutes_main.obj) : error LNK2019: unresolved external symbol __imp__eglCreatePbufferSurface referenced in function ___glCreateSurface
1>glutes_static.lib(glutes_main.obj) : error LNK2019: unresolved external symbol __imp__eglCreatePixmapSurface referenced in function ___glCreateSurface
1>glutes_static.lib(glutes_main.obj) : error LNK2019: unresolved external symbol __imp__eglCreateWindowSurface referenced in function ___glCreateSurface
1>glutes_static.lib(glutes_init.obj) : error LNK2019: unresolved external symbol __imp__eglInitialize referenced in function ___glInit
1>glutes_static.lib(glutes_init.obj) : error LNK2019: unresolved external symbol __imp__eglGetDisplay referenced in function ___glInit
1>glutes_static.lib(glutes_init.obj) : error LNK2019: unresolved external symbol __imp__eglTerminate referenced in function ___glDestroy
1>D:\VSprojects\opengles1xResize\Debug\opengles1xResize.exe : fatal error LNK1120: 23 unresolved externals

THANKS IN ADVANCE

Regards,
himanshu

Hi All,

i resolved some of the linker errors out of 28 now linking errors are as follows please help as i am new to opengl es :

Linking…
1>main.obj : error LNK2019: unresolved external symbol __imp__glShadeModel@4 referenced in function “void __cdecl init(void)” (?init@@YAXXZ)
1>main.obj : error LNK2019: unresolved external symbol __imp__glEnableClientState@4 referenced in function “void __cdecl init(void)” (?init@@YAXXZ)
1>main.obj : error LNK2019: unresolved external symbol __imp__glColorPointer@16 referenced in function “void __cdecl init(void)” (?init@@YAXXZ)
1>main.obj : error LNK2019: unresolved external symbol __imp__glVertexPointer@16 referenced in function “void __cdecl init(void)” (?init@@YAXXZ)
1>main.obj : error LNK2019: unresolved external symbol __imp__glLoadIdentity@0 referenced in function “void __cdecl init(void)” (?init@@YAXXZ)
1>main.obj : error LNK2019: unresolved external symbol __imp__glMatrixMode@4 referenced in function “void __cdecl init(void)” (?init@@YAXXZ)
1>main.obj : error LNK2019: unresolved external symbol __imp__glClearColor@16 referenced in function “void __cdecl init(void)” (?init@@YAXXZ)
1>main.obj : error LNK2019: unresolved external symbol __imp__glFlush@0 referenced in function “void __cdecl display(void)” (?display@@YAXXZ)
1>main.obj : error LNK2019: unresolved external symbol __imp__glDrawArrays@12 referenced in function “void __cdecl display(void)” (?display@@YAXXZ)
1>main.obj : error LNK2019: unresolved external symbol __imp__glClear@4 referenced in function “void __cdecl display(void)” (?display@@YAXXZ)
1>D:\VSprojects\opengles1xResize\Debug\opengles1xResize.exe : fatal error LNK1120: 10 unresolved externals

please HELP in resolving them too…THANKS

Regards,
himanshu

Which ES libraries are you using?

Hi Xmas,

i am using glut|es 1.1 libraries which i downloaded from sourceforge.net the link is :
http://sourceforge.net/project/showfile … _id=170950

still linker errors remain.
HELP!

Thanks in Advance
Himanshu

glut|es is a glut-implementation, not an OpenGL ES implementation.