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. Compilation fail with MSVC2010
QtWS25 Last Chance

Compilation fail with MSVC2010

Scheduled Pinned Locked Moved Installation and Deployment
8 Posts 3 Posters 4.2k 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.
  • rudagR Offline
    rudagR Offline
    rudag
    wrote on last edited by
    #1

    well, tried to compile Qt 4.7.2 from sources with jom and got this error after some time:
    !http://img04.imgland.net/EWsO4JK0Va.jpg(error)!
    How do I fix it?

    1 Reply Last reply
    0
    • F Offline
      F Offline
      florent.revelut
      wrote on last edited by
      #2

      Looks like it's linked to pdb file being locked, which sometimes happen with more than one instance of Visual trying to access the same pdb file.
      => running with -j1 will most probably solve the issue (or better, try to understand synchronisation point in your makefile, which can happen to be tricky)

      1 Reply Last reply
      0
      • rudagR Offline
        rudagR Offline
        rudag
        wrote on last edited by
        #3

        well, I tried to compile it again and got this error:

        !http://img04.imgland.net/4B00RTECZy.jpg(image)!

        1 Reply Last reply
        0
        • F Offline
          F Offline
          florent.revelut
          wrote on last edited by
          #4

          well, in screenshot, I only see a warning, it even looks like the linking happened correctly : are you sure you got a real issue in your compilation ?

          Florent

          1 Reply Last reply
          0
          • rudagR Offline
            rudagR Offline
            rudag
            wrote on last edited by
            #5

            well, the compilation stopped at this point
            it was the second time I tried to compile it for MSVC2010
            I guess the problem is with the 'arthurplugin', but I dont know how to solve it... =/

            1 Reply Last reply
            0
            • ZlatomirZ Offline
              ZlatomirZ Offline
              Zlatomir
              wrote on last edited by
              #6

              Have you tried it without jom?

              // i have built 4.7.2 two times and it didn't failed, and previous versions many times without any fails

              // for me default options on configure are enough, and then i use nmake sub-scr (builds the framework) then nmake sub-tools (builds Creator and rest of the tools) and then nmake clean (reduces the folder size for ~4.5 GB to ~1.5)
              //of course every command is launched from the VS cmd ;)

              LE:
              I don't know what jom does, but on my system nmake uses both cores, and on top of that the processor is not the determinant factor in building large frameworks, but the HDD.

              https://forum.qt.io/category/41/romanian

              1 Reply Last reply
              0
              • F Offline
                F Offline
                florent.revelut
                wrote on last edited by
                #7

                it the error is upper, you can try launching the compilation with > log.txt 2>err.txt

                => this willl produce 2 files, one containing stdout (= standard output) while the other one will only contain error and warnings.

                1 Reply Last reply
                0
                • F Offline
                  F Offline
                  florent.revelut
                  wrote on last edited by
                  #8

                  Might be worth taking this into account as well:
                  http://msdn.microsoft.com/fr-fr/library/bdscwf1c(v=vs.80).aspx

                  And raising as recommended by warning your limit to 500 (like in CXXFLAGS)

                  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