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. Build fails on msvc2005
Forum Updated to NodeBB v4.3 + New Features

Build fails on msvc2005

Scheduled Pinned Locked Moved Installation and Deployment
12 Posts 3 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.
  • J Offline
    J Offline
    jdbastardy
    wrote on last edited by
    #2

    Have you installed VS2005 SP1? Most of the issues will be resolved by using the latest updates.

    http://mattias-cibien.co.cc

    • Prepare for Qt consequences.
    1 Reply Last reply
    0
    • K Offline
      K Offline
      kreyszig
      wrote on last edited by
      #3

      Hi,

      Sorry for the delay. Just reinstalled sp1 to make sure, reconfigured again and rebuilt. Same problem. So yep, I have SP1 but still no dice.

      1 Reply Last reply
      0
      • G Offline
        G Offline
        goetz
        wrote on last edited by
        #4

        Do you have your own copy of libtifff installed? Seems as if some of the headers leak in from outside Qt, where thandle_t is defined different.

        http://www.catb.org/~esr/faqs/smart-questions.html

        1 Reply Last reply
        0
        • K Offline
          K Offline
          kreyszig
          wrote on last edited by
          #5

          it does look like that, doesn't it. I might try altering the Makefiles to output the include path and see how I get on. Thanks for the idea!

          1 Reply Last reply
          0
          • K Offline
            K Offline
            kreyszig
            wrote on last edited by
            #6

            hmmm GTK 2.0 has a tiffio.h which could have been picked up.
            I've deleted this and am now rebuilding...
            ....now it can't find tiffio.h!
            I guess I have to reconfigure..in the meantime, any suggestions most welcome!

            1 Reply Last reply
            0
            • G Offline
              G Offline
              goetz
              wrote on last edited by
              #7

              You will have to call configure again. Your build was configured to use the system libtiff, which now isn't available anymore.

              You should call

              @
              configure -qt-libtiff
              @

              to explicitly tell Qt to use its internal tiff library.

              http://www.catb.org/~esr/faqs/smart-questions.html

              1 Reply Last reply
              0
              • K Offline
                K Offline
                kreyszig
                wrote on last edited by
                #8

                thanks, restarted configure with that option. i'll let you know how the build goes, but it sounds like this is the way forward

                1 Reply Last reply
                0
                • K Offline
                  K Offline
                  kreyszig
                  wrote on last edited by
                  #9

                  that was it, thanks! phew!

                  1 Reply Last reply
                  0
                  • G Offline
                    G Offline
                    goetz
                    wrote on last edited by
                    #10

                    It must have been something like that since I never had problems building Qt itself with MSVS 2005 with and without SP1.

                    And now have fun using Qt - the adventure starts right now :-)

                    http://www.catb.org/~esr/faqs/smart-questions.html

                    1 Reply Last reply
                    0
                    • J Offline
                      J Offline
                      jdbastardy
                      wrote on last edited by
                      #11

                      [quote author="Volker" date="1295636423"]It must have been something like that since I never had problems building Qt itself with MSVS 2005 with and without SP1.

                      And now have fun using Qt - the adventure starts right now :-)[/quote]

                      I have built Qt once on msvc2005 and it was almost a mess (but was the old 4.2/3 which had to be patched). Then with 2008 everything went fine :-p. Still too long to build however

                      http://mattias-cibien.co.cc

                      • Prepare for Qt consequences.
                      1 Reply Last reply
                      0
                      • G Offline
                        G Offline
                        goetz
                        wrote on last edited by
                        #12

                        [quote author="Mattias Cibien" date="1295642172"]
                        I have built Qt once on msvc2005 and it was almost a mess (but was the old 4.2/3 which had to be patched). Then with 2008 everything went fine :-p. Still too long to build however[/quote]

                        I never had problems with this combination. No error, no patch. Strange. But fortunately I can use the prebuilt binaries nowadays. The most annoying thing was the compile time - no "make -j8" ... it took ages.

                        http://www.catb.org/~esr/faqs/smart-questions.html

                        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