PDA

View Full Version : QT winCE OpenGL configuration.



varunjajee
19th September 2011, 11:05
hello,

I am trying to configure QT with OpenGL parameter for custom Windows CE 6.0.

But i get compile time error, i found a similar error faced in http://www.qtcentre.org/threads/37052-WinCE-OpenGL-ES-build-error? post.

The link says that to install OpenGL SDK from Imagination Technology and link the Lib and Include file to slove the error.

But when i tried the steps mentioned in the link i still get linker errors.

NODEFAULTLIB:OLDNAMES.LIB /DEBUG /SUBSYSTEM:WINDOWSCE,6.00 /MACHINE:THUMB /DLL / SAFESEH:NO /VERSION:4.74 /OUT:....\lib\QtGuid4.dll @C:\DOCUME~1\VARUN~1.JAJ\LOC ALS~1\Temp\nm8796.tmp Creating library ....\lib\QtGuid4.lib and object ....\lib\QtGuid4.exp qegl.obj : error LNK2019: unresolved external symbol __imp_eglBindAPI referenced in function "public: bool __cdecl QEglContext::createContext(class QEglContext *,class QEglProperties const *)" (?createContext@QEglContext@@QAA_NPAV1@PBVQEglP roperties@@@Z) ....\lib\QtGuid4.dll : fatal error LNK1120: 1 unresolved externals NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\ce\bi n\x86_arm\link.EXE"' : return code '0x460' Stop. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\n make.exe"' : return code '0x2' Stop. NMAKE : fatal error U1077: 'cd' : return code '0x2' Stop.

Has any one faced similar issues? could any please suggest me what i might be doing wrong? any help on this is highly appriciated.


Thanks in advace, Varun

varunjajee
21st September 2011, 08:45
Update:

Well i could resolve this issue ... i was using different OPenGL libs and header files while compilation.

I reconfigured QT using :- configure -platform win32-msvc2005 -xplatform wince60cellnovo-armv4i-msvc2005 -opengl es1 -no-openvg options and with new openGL libs downloaded from TI.com. it worked this time.