Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. OpenGL Window Example crashes

OpenGL Window Example crashes

Scheduled Pinned Locked Moved Installation and Deployment
9 Posts 3 Posters 2.6k 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.
  • A Offline
    A Offline
    At least 4 characters
    wrote on last edited by
    #1

    I'm trying to build the OpenGL Window Example, this is what I get.
    @Starting C:\Qt\Qt5.2.0\5.2.0\mingw48_32\examples\gui\build-openglwindow-Desktop_Qt_5_2_0_MinGW_32bit-Debug\debug\openglwindow.exe...
    The program has unexpectedly finished.
    C:\Qt\Qt5.2.0\5.2.0\mingw48_32\examples\gui\build-openglwindow-Desktop_Qt_5_2_0_MinGW_32bit-Debug\debug\openglwindow.exe crashed
    @
    Debug says this:
    During startup program exited with code 0xc0000139.
    How to fix?

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Run in debug mode and see where it crashes.

      (Z(:^

      1 Reply Last reply
      0
      • A Offline
        A Offline
        At least 4 characters
        wrote on last edited by
        #3

        This?
        @23:33:17: Running steps for project openglwindow...
        23:33:17: Configuration unchanged, skipping qmake step.
        23:33:17: Starting: "C:\Qt\Qt5.2.0\Tools\mingw48_32\bin\mingw32-make.exe"
        C:/Qt/Qt5.2.0/Tools/mingw48_32/bin/mingw32-make -f Makefile.Debug
        mingw32-make[1]: Entering directory 'C:/Qt/Qt5.2.0/5.2.0/mingw48_32/examples/gui/build-openglwindow-Desktop_Qt_5_2_0_MinGW_32bit-Debug'
        mingw32-make[1]: Nothing to be done for 'first'.
        mingw32-make[1]: Leaving directory 'C:/Qt/Qt5.2.0/5.2.0/mingw48_32/examples/gui/build-openglwindow-Desktop_Qt_5_2_0_MinGW_32bit-Debug'
        23:33:18: The process "C:\Qt\Qt5.2.0\Tools\mingw48_32\bin\mingw32-make.exe" exited normally.
        23:33:18: Elapsed time: 00:01.@

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          No that's the compilation output, run your program by clicking on the green arrow with a little bug on it.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • A Offline
            A Offline
            At least 4 characters
            wrote on last edited by
            #5

            All I get is this.
            During startup program exited with code 0xc0000139.

            Debugging starts
            Debugging has finished

            1 Reply Last reply
            0
            • sierdzioS Offline
              sierdzioS Offline
              sierdzio
              Moderators
              wrote on last edited by
              #6

              You do have OpenGL drivers installed on your machine, right?

              Try cleaning and rebuilding.

              (Z(:^

              1 Reply Last reply
              0
              • A Offline
                A Offline
                At least 4 characters
                wrote on last edited by
                #7

                Yes, I have drivers. I tried uninstalling Qt and installing it again, didn't help. Anything more I can try?

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  At least 4 characters
                  wrote on last edited by
                  #8

                  I just noticed that none of the examples work. Same error code. Is is mingw that doesn't work?

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    At least 4 characters
                    wrote on last edited by
                    #9

                    I searched a bit and found a program called dependency walker, tried it and it said qt5cored.dll and qt5guid.dll is mission amongst others. I couldn't find them in the qt folder, only the same files without the d. Is there a way to fix this and what is it that I have done wrong?

                    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