Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.

Archived:Running Open C OpenGL example on hardware-accelerated devices fails (Known Issue)

From Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

Article Metadata
Tested with
Devices(s): Nokia N93(i), Nokia N95, Nokia E90 Communicator
Platform(s): S60 3rd Edition, S60 3rd Edition, FP1
S60 3rd Edition FP1
S60 3rd Edition (initial release)
Created: User:Technical writer 1 (19 Nov 2007)
Last edited: hamishwillee (19 Jun 2012)


The OpenC plug-in has the opencopenglex example application. However, installing and running it on a hardware-accelerated device gives the following error: "StartGameL failed with result=-6006!".


The OpenC plug-in can be downloaded here. It has the OpenGL example which works fine on most devices. However, it gives the error "StartGameL failed with result=-6006!" when installed on a hardware-accelerated device, such as the Nokia N93 and the Nokia N95.


The error occurs because the CCoeEnv is not initialized. Adding the following lines to the file openglex.cpp solves this issue.

 int main(void)
// Create the control environment.
CCoeEnv* environment = new (ELeave) CCoeEnv();
TRAPD( err, environment->ConstructL( ETrue, 0 ) );
This page was last modified on 19 June 2012, at 07:55.
36 page views in the last 30 days.