Trouble compiling windows phone 8 (2.2) ?

I tried to compile my project against windows phone 8, and got the following error while it tries to compile libEGL_phone. All other dependencies compile fine, so what is going on with “libEGL_phone”?

1>------ Build started: Project: libEGL_phone, Configuration: Debug Win32 ------
1>     Creating library C:\dev\hello_cocos\proj.wp8\WP8\redist\vs2012\Win32\Debug\libEGL_phone.lib and object C:\dev\hello_cocos\proj.wp8\WP8\redist\vs2012\Win32\Debug\libEGL_phone.exp
1>Display.obj : error LNK2019: unresolved external symbol _glCreateContext referenced in function "public: void * __thiscall egl::Display::createContext(void *,class gl::Context const *,bool,bool)" (?createContext@Display@egl@@QAEPAXPAXPBVContext@gl@@_N2@Z)
1>Display.obj : error LNK2019: unresolved external symbol _glDestroyContext referenced in function "public: void __thiscall egl::Display::destroyContext(class gl::Context *)" (?destroyContext@Display@egl@@QAEXPAVContext@gl@@@Z)
1>Display.obj : error LNK2019: unresolved external symbol _glCreateRenderer referenced in function "public: bool __thiscall egl::Display::initialize(void)" (?initialize@Display@egl@@QAE_NXZ)
1>Display.obj : error LNK2019: unresolved external symbol _glDestroyRenderer referenced in function "public: void __thiscall egl::Display::terminate(void)" (?terminate@Display@egl@@QAEXXZ)
1>libEGL.obj : error LNK2019: unresolved external symbol _glMakeCurrent referenced in function _eglMakeCurrent@16
1>Surface.obj : error LNK2001: unresolved external symbol _glMakeCurrent
1>libEGL.obj : error LNK2019: unresolved external symbol _glGetCurrentContext referenced in function _eglGetCurrentContext@0
1>Surface.obj : error LNK2001: unresolved external symbol _glGetCurrentContext
1>libEGL.obj : error LNK2019: unresolved external symbol _glGetProcAddress@4 referenced in function _eglGetProcAddress@4
1>libEGL.obj : error LNK2019: unresolved external symbol _glBindTexImage@4 referenced in function _eglBindTexImage@12
1>C:\dev\hello_cocos\proj.wp8\WP8\redist\vs2012\Win32\Debug\libEGL_phone.dll : fatal error LNK1120: 8 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========