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. [SOLVED]Struggling to build qt 5.2.0 with msvc2012
Forum Updated to NodeBB v4.3 + New Features

[SOLVED]Struggling to build qt 5.2.0 with msvc2012

Scheduled Pinned Locked Moved Installation and Deployment
13 Posts 2 Posters 7.5k 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #2

    Hi and welcome to devnet,

    I don't have access to a Win8 machine, but it seems you have a permission error. Are you sure your build directory permissions are clean ?

    Hope it helps

    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
    • N Offline
      N Offline
      noddy123
      wrote on last edited by
      #3

      Hi. Thanks for the reply. I'm sure this is a stupid question but how do i check that the directory permissions are clean.
      Thanks

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

        "this":http://technet.microsoft.com/en-us/library/bb727008.aspx should help

        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
        • N Offline
          N Offline
          noddy123
          wrote on last edited by
          #5

          As far as I can see, as administrator i have full control of all files. and no files are read only. So any other suggestions?
          Thanks

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

            Two reasons I have also seen:

            The exec is already running (which should be your case)

            An anti-virus software that interfere with the build process

            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
            • N Offline
              N Offline
              noddy123
              wrote on last edited by
              #7

              In that case should i do a clean rebuild, and in that case how?

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

                Just delete the build dir and start a new (in the case you used an out of source build)

                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
                • N Offline
                  N Offline
                  noddy123
                  wrote on last edited by
                  #9

                  I tried that, this time it compiled for a longer period but gave the following error:
                  mt.exe : general error c101008d: Failed to write the updated manifest to the res
                  ource of file "C:\QT\5.2.00\qt-everywhere-opensource-src-5.2.0\qtbase\bin\qml.ex
                  e". Access is denied.
                  NMAKE : fatal error U1077: '"C:\Program Files (x86)\Windows Kits\8.1\bin\x86\mt.
                  exe"' : return code '0x1f'
                  Stop.
                  NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0
                  \VC\BIN\nmake.exe"' : return code '0x2'
                  Stop.
                  NMAKE : fatal error U1077: 'cd' : return code '0x2'
                  Stop.
                  NMAKE : fatal error U1077: 'cd' : return code '0x2'
                  Stop.
                  NMAKE : fatal error U1077: 'cd' : return code '0x2'
                  Stop.
                  Which is very similar to the first. You said that the exec is already running, how would i solve this?

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

                    One of the symptoms could be that, but since you are compiling it should not be the case.

                    Are you sure you don't have an anti-virus that is running ?

                    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
                    • N Offline
                      N Offline
                      noddy123
                      wrote on last edited by
                      #11

                      I disabled my anitivirus and ran it with jom and i got no errors.
                      Thanks

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

                        You're welcome !

                        Since you build it successfully, please update the thread title prepending [solved] so other forum users may know a solution has been found :)

                        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
                        • N Offline
                          N Offline
                          noddy123
                          wrote on last edited by
                          #13

                          can you look at this for me please
                          http://qt-project.org/forums/viewthread/36909/

                          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