Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [SOLVED]32 bits and 64 bits Windows OpenGL projects
Forum Updated to NodeBB v4.3 + New Features

[SOLVED]32 bits and 64 bits Windows OpenGL projects

Scheduled Pinned Locked Moved General and Desktop
7 Posts 2 Posters 5.6k Views 1 Watching
  • 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.
  • W Offline
    W Offline
    wwolff
    wrote on last edited by
    #1

    Hi!
    I have a OpenGL Progect that not compile in a win32 machine , but compiles in a 64bits machine.
    I have 2 desktops , one with 64 bits QT opengl MSVC2012 installed , and another with QT Win32 MSVC2012 installed,

    In the 64 bits the project works fine with no problem, but when i try compile in the 32 bits i receive erros of double declacrations of GLInt , float and etc...like 2 OpenGL implementations being used....

    Anyone know how can i have this project working in this 2 machines properly, there is something i need to do in the 32 bits machine project? they are completely the same...

    Kind Regards.

    1 Reply Last reply
    0
    • W Offline
      W Offline
      wwolff
      wrote on last edited by
      #2

      The strange thing is this is only happening in 5.1.1 versions of Qt, for the 5.1.0 versions, this not happen. There is a existend workaround on this?

      Kind Regards.

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

        Hi,

        Are you including some OpenGL headers in your project ?

        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
        • W Offline
          W Offline
          wwolff
          wrote on last edited by
          #4

          Yes SGalist,

          I include GL/Glu.h becouse i use some glulookat function to controle the camera.

          I progress a lot with this problem , and i install both 2010 and 2012 MSVC Versions and works fine, both of them are compiling now, but rests another little problem.

          Now i´m generating win32 and win64 executables working , but in the win32 Debbug compilation i´m receiving the following error:

          @ if not exist debug\INS.exe_manifest.bak link /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /SUBSYSTEM:WINDOWS "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='' processorArchitecture=''" /MANIFEST /MANIFESTFILE:debug\INS.exe.embed.manifest /OUT:debug\INS.exe @C:\Users\WILLIAN\AppData\Local\Temp\INS.exe.6820.7020.jom
          LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
          jom: C:\William\PUC-pr\professor\Programacao Engine\Semana 06\INS-32\build-INS-Desktop_Qt_5_1_0_MSVC2010_32bit_OpenGL-Debug\Makefile.Debug [debug\INS.exe] Error 1123
          jom: C:\William\PUC-pr\professor\Programacao Engine\Semana 06\INS-32\build-INS-Desktop_Qt_5_1_0_MSVC2010_32bit_OpenGL-Debug\Makefile [debug] Error 2
          19:57:55: The process "C:\Qt\Tools\QtCreator\bin\jom.exe" exited with code 2.
          Error while building/deploying project INS (kit: Desktop Qt 5.1.0 MSVC2010 32bit OpenGL)
          When executing step 'Make'
          19:57:55: Elapsed time: 00:09.@

          I try execute qMake many times, and in the release setup compiles fine...but in the debbug mode i receive this error....you have a glue of what´s hapenning?

          Kind Regards.

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

            You might be having some problem with 2010 and 2012 installed at the same time, do you have VS2010 SP1 installed ?

            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
            • W Offline
              W Offline
              wwolff
              wrote on last edited by
              #6

              Good question..i just install VC2010 , i will check it out!

              1 Reply Last reply
              0
              • W Offline
                W Offline
                wwolff
                wrote on last edited by
                #7

                Hey!

                I install the SP1 and are working fine now!
                Thanks so much for your Help!

                Kind Regards.

                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