"the project does not contain valid configurations"
I am using Carbide.What do I have to do for this to work? Do I have to add configurations to the project? If so, how do I do this? This is the code in the ConstructL method:
-----------------
void CSsPluginObject::ConstructL()
{
iEikEnv = CEikonEnv::Static ();
// attribute list
/*The attribList parameter represents an attribute list that the application requires. The function will return in the iEglConfig parameter a list of all the available configurations that match the attribute list. The size of this list is limited by the fourth parameter
* (in this case, we want only one configuration*/
EGLint attribList [] =
{
EGL_BUFFER_SIZE, 0,
EGL_DEPTH_SIZE, 15,
EGL_NONE
};
// get device color depth
switch (iWindow.DisplayMode() )
{
case EColor4K:
attribList [1] = 12;
break;
case EColor64K:
attribList [1] = 16;
break;
if (iEglDisplay == EGL_NO_DISPLAY)
User::Panic (_L("Unable to find a suitable EGLDisplay"), 0);
// step 2
if (!eglInitialize (iEglDisplay, 0, 0) )
User::Panic (_L("Unable to initialize EGL"), 0);
// step 3
EGLint numConfigs;
if (!eglChooseConfig (iEglDisplay, attribList, &iEglConfig, 1, &numConfigs) )
User::Panic (_L("Unable to choose EGL config"), 0);
// step 4
/*The third parameter indicates a context to share texture objects. Here, we use EGL_NO_CONTEXT
* stating that there is no such context.*/
iEglContext = eglCreateContext (iEglDisplay, iEglConfig, EGL_NO_CONTEXT, 0);
if (iEglContext == 0)
User::Panic (_L("Unable to create EGL context"), 0);
if (iEglSurface == NULL)
User::Panic (_L("Unable to create EGL surface"), 0);
// step 6
/*For OpenGL ES commands to take effect, it is necessary to activate the context, making it current.
* In OpenGL ES, only one context can be current at a time*/
eglMakeCurrent (iEglDisplay, iEglSurface, iEglSurface, iEglContext);
Go into Run > Debug Configurations... > Symbian OS Emulation and create a new debug configuration, specifying the name of your project and executable to launch.
You need to do the same for Run > Run Configurations.
Eric Bustarret
NewLC Founder & CEO / Professional Symbian OS Consultant
The problem was cause by the screensaver framework. It worked when I made an ordinary application with the same Open gl es code. By the way, do you know if morphing is possible in Open gl es?
There are two different links in two posts. With the very same posts and links on Symbian Forums. It is difficult to say whether it is disguised advertizing for your screen saver or not.
Further more, I don't see how the links help solving the error you have.
Eric Bustarret
NewLC Founder & CEO / Professional Symbian OS Consultant
Forum posts: 2133
Doesn't it sound like a Carbide error ?
Go into Run > Debug Configurations... > Symbian OS Emulation and create a new debug configuration, specifying the name of your project and executable to launch.
You need to do the same for Run > Run Configurations.
Eric Bustarret
NewLC Founder & CEO / Professional Symbian OS Consultant
Forum posts: 77
The problem was cause by the screensaver framework. It worked when I made an ordinary application with the same Open gl es code. By the way, do you know if morphing is possible in Open gl es?
//Links removed by moderator//
Forum posts: 77
well, since you removed the links to my morhing demos, I can't explain what I meant....
Forum posts: 2133
There are two different links in two posts. With the very same posts and links on Symbian Forums. It is difficult to say whether it is disguised advertizing for your screen saver or not.
Further more, I don't see how the links help solving the error you have.
Eric Bustarret
NewLC Founder & CEO / Professional Symbian OS Consultant