Results 1 to 2 of 2

Thread: WinCE OpenGL ES build error

  1. #1
    Join Date
    Dec 2010
    Posts
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows Symbian S60 Maemo/MeeGo

    Default WinCE OpenGL ES build error

    I am trying to build Qt 4.7.1 for WinCE (Windows Mobile60professional) with OpenGLES support. I have previously managed to build version 4.6.3 with exactly the same settings and procedure:

    1. I am using shadow build:

    set PATH=c:\qt\Qt_4.7.1_WinCE_OpenGLES\bin;%PATH%
    cd \qt\Qt_4.7.1_WinCE_OpenGLES

    2. I configure with following options:

    C:\Qt\Qt_4.7.1_WinCE_OpenGLES>c:\qt\qt-everywhere-opensource-src-4.7.1\configure -platform win32-msvc2008 -xplatform wincewm60professional-msvc2008 -opengl-es-cm -graphicssystem opengl

    3. I setup path for Vincent3D lib:

    C:\Qt\Qt_4.7.1_WinCE_OpenGLES>set INCLUDE=C:\Qt\ogles-bin-1.0.0\include;%INCLUDE%
    C:\Qt\Qt_4.7.1_WinCE_OpenGLES>set LIB=C:\Qt\ogles-bin-1.0.0\bin\arm\Release;%LIB%

    When I try nmake after some time I get following error:

    link /LIBPATH:"c:\Qt\Qt_4.7.1_WinCE_OpenGLES\lib" /LIBPATH:"c:\Qt\Qt_4.7
    .1_WinCE_OpenGLES\lib" /NOLOGO /NODEFAULTLIB:OLDNAMES.LIB /DEBUG /SUBSYSTEM:WIND
    OWSCE,5.02 /MACHINE:THUMB /DLL /VERSION:4.71 /OUT:..\..\lib\QtOpenGLd4.dll @C:\U
    sers\bpredic\AppData\Local\Temp\nm24D1.tmp
    Creating library ..\..\lib\QtOpenGLd4.lib and object ..\..\lib\QtOpenGLd4.exp

    qgl.obj : error LNK2001: unresolved external symbol "public: static struct QMeta
    Object const QGLWindowSurface::staticMetaObject" (?staticMetaObject@QGLWindowSur
    face@@2UQMetaObject@@B)
    qglpaintdevice.obj : error LNK2001: unresolved external symbol "public: static s
    truct QMetaObject const QGLWindowSurface::staticMetaObject" (?staticMetaObject@Q
    GLWindowSurface@@2UQMetaObject@@B)

    I found no references on the Internet for this error.Actually I have found some people reporting this problem, but without any solution.

    Has anyone managed to sucesfully build and use OpenGL ES Qt support on Windows Mobile?

  2. #2
    Join Date
    Dec 2010
    Posts
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows Symbian S60 Maemo/MeeGo

    Default Re: WinCE OpenGL ES build error

    UPDATE

    I have downloaded Imagination Technologies POWERVR SDK for OpenGLES v1 and v2. Using v2 includes and libs I have managed to build QtEverywhere4.7.1 for WinCE and run ALL examples.

    Using the same SDK for OpenGLESv1 (both single libGLES_CM.lib for older devices and combination of libEGL.lib + libGLESv1_CM.lib) fail with linker error in my previous post.

Similar Threads

  1. Build Qt with OpenGL ES support on Windows
    By moldovan_catalin in forum Installation and Deployment
    Replies: 0
    Last Post: 19th September 2010, 12:31
  2. wince project doesn't work on wince, but works on win mobile
    By thedimitrius in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 29th March 2010, 12:01
  3. Windows / WinCE VS2005 Build Questions
    By yatest5 in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 30th November 2009, 13:23
  4. Problem with build/execution of WinCE application on target device
    By marlag in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 21st July 2009, 13:33
  5. [fro help]About use opengl es 1.x error in qt
    By gephen in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 7th October 2008, 10:04

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.