The Khronos Group - a non-profit industry consortium to develop, publish and promote open standard, royalty-free media authoring and acceleration standards for desktop and handheld devices, combined with conformance qualification programs for platform and device interoperability.

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Newbie needs your help

Hello all!

I'm new to OpenGl ES and have some problems with my Axim x51v (Intel 2700 graphics accelerator) and Windows Mobile 5 (German Rom A04 - should be identical to English Rom A12).
I'm trying to get started with the PowerVR SDK, but i'm stuck:

I have VC2005 and the Microsoft PocketPC SDK installed. I also downloaded the Intel 2700g SDK and PowerVR SDK ("Windows Mobile 5.0 Pocket PC (Dell X51v)").
Then i copied the libGLES_CM.lib from Intel's 2700 SDK to the appropriate folder in the PowerVR SDK (as stated in the userguide).
And there's the first problem: i cannot find a libEGL.lib anywhere. According to the userguide this lib should also go into the PowerVR SDK folder...
Anyway ... I tried to compile the demos (release, target: pocketpc). No problems here. Everything compiles fine - no errors, no warnings - until... i deploy the compiled exe to my pda (or copy it manually via active sync)
I get an error message from my pda saying something like: the application cannot be started because it's either not signed or some of its components are missing.
???
What's going on? I searched for opengl related stuff on my pda - the only thing i found is lib_GLES_CL.dll in the windows folder.
Am i missing something? Doing something wrong? Too stupid??
Please help!

The libGLES_CL.lib (not CM, as Intel only supports the Common Lite profile) import library from the Intel 2700G SDK contains the EGL entry points, so you don't need to worry about the "missing" libEGL.lib.

Do the precompiled binaries from the PowerVR SDK work? Which SDK version are you using?

oops - i confused something.
You're right - in the intel 2700 SDK there's no libGLES_CM.lib but only a libGLES_CL.lib
Obviously the ..CM.lib was from an old vincent package (???) on my hd, and i accidentally copied that one. Maybe that's not correct, but what else should i do?
There's no ..CM.lib in the 2700 SDK and also not in the Microsoft PocketPC SDK...

So where do i get the ..CM.lib file? Renaming the ..CL.lib from the 2700 SDK to ..CM.lib is surely not correct. Also trying to link against the ..CL.lib doesn't work..

Next problem: Even the precompiled binaries from the powerVR SDK do not work.
Same error from my pda: not signed or missing components

In the 2700 SDK there's only a ..CL.lib since the 2700 supports only the common lite profile.
So i do not need to copy a ..CM.lib to the powerVR SDK but only this ..CL.lib
Then i can only compile the "CommonLite Debug" and "CommonLite Release" configurations of the demos - which link to the ..CL.lib instead of the missing ..CM.lib
But first i need to compile the SDK Tools (also for CommonLite) since the OGLEtools.lib does not come precompiled for CommonLite.

Then the demos **should** compile and run... i thought
Not really - i get a linker error:
" unresolved external symbol __imp_eglSwapInterval referenced in ..."

Well, still not working...

Maybe the precompiled binaries also link against a ..CM.lib and need a ..CM.dll to run on the Pda?
My x51v only has lib_GLES_CL.dll. Therefore i get the "missing component" error?

I got it working!!! The linker errors were in fact a version issue.
I renamed the egl_1.0.h and gl_1.0.h in the include directory of the SDk to egl.h and gl.h and now everything compiles, links, and runs fine.
No "missing components" errors anymore!