Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to compile OpenGL examples for Windows CE

How to compile OpenGL examples for Windows CE

Scheduled Pinned Locked Moved Mobile and Embedded
6 Posts 3 Posters 5.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    pelito
    wrote on last edited by
    #1

    Hello

    I managed to install Qt for Windows CE with this webpage : http://doc.qt.nokia.com/4.7-snapshot/install-wince.html
    Now I am trying to enable OpenGL for Qt and I would like to compile examples to test it. I have found this page : http://doc.qt.nokia.com/4.7-snapshot/windowsce-opengl.html
    So to install Qt for Windows CE, I am now using this command : "configure -platform win32-msvc2005 -xplatform wince60standard-x86-msvc2005 -opengl-es-cm" instead of "configure -platform win32-msvc2005 -xplatform wince60standard-x86-msvc2005"

    The problem is when I am trying now to build Qt libraries, I have those errors :
    c:\qt\4.6.2\include\qtgui\private../../../src/gui/egl/qeglproperties_p.h(62) :
    fatal error C1083: Cannot open include file: 'GLES/egl.h': No such file or direc
    tory
    qeglproperties.cpp
    c:\qt\4.6.2\src\gui\egl\qeglproperties_p.h(62) : fatal error C1083: Cannot open
    include file: 'GLES/egl.h': No such file or directory
    qegl_wince.cpp
    c:\qt\4.6.2\include\qtgui\private../../../src/gui/egl/qeglproperties_p.h(62) :
    fatal error C1083: Cannot open include file: 'GLES/egl.h': No such file or direc
    tory
    Generating Code...
    NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
    \cl.EXE"' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
    \nmake.exe"' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.

    Would someone have a solution to this problem ?

    Thank you for your help

    1 Reply Last reply
    0
    • M Offline
      M Offline
      matti-
      wrote on last edited by
      #2

      bq. Ensure that the lib and includes paths include the OpenGL ES headers and libararies from your SDK.

      Did you? :)

      Author of <a href="http://mmark.777-team.org/">MMark13</a>

      1 Reply Last reply
      0
      • P Offline
        P Offline
        pelito
        wrote on last edited by
        #3

        If my SDK doesn't include the OpenGL ES headers and libraries, what can I do to get it ?

        1 Reply Last reply
        0
        • Q Offline
          Q Offline
          q8phantom
          wrote on last edited by
          #4

          I need to do the same for a normal windows PC (The libs are there for Symbian and MeeGo but not for Desktop target), if anyone does have the solution please let us know

          1 Reply Last reply
          0
          • M Offline
            M Offline
            matti-
            wrote on last edited by
            #5

            Theres no opengl es for desktops, but since desktop opengl 3/4 is pretty much API-compatible, just install GLEW/similar to provide those and get coding.

            Have no experience in using GLEW on windows though, on Linux it was the easiest solution.

            Author of <a href="http://mmark.777-team.org/">MMark13</a>

            1 Reply Last reply
            0
            • Q Offline
              Q Offline
              q8phantom
              wrote on last edited by
              #6

              Thank you, I'll try that, as am trying to run the cocos2d-x project on Windows desktop platform for fast testing

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved