Uploaded image for project: 'Qt Installer Framework'
  1. Qt Installer Framework
  2. QTIFW-2249

Can't build installer framework tools because of "unresolved external symbol" errors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 4.1.0
    • Building
    • Windows 7, Microsoft Visual Studio 2019
    • Windows

    Description

      I try to build Installer Framework on Windows 7 with MSVS 2019 and faced the problem. Static libraries components ("7z" and "installer") has been built without errors, also "repocompare" had no problems. But, all other projects wasn't able to build and had a lot of "unresolved external symbol" errors (see pic1).

      Let's consider the "archivegen" project. I found out the strange behavior. This project should have the only executable file in the end of the build. But, for some reason I cant understand, it tries to be split on the ".lib" static library and the ".exe" executable files. After I build the "archivegen" project there is a "archivegen.lib" file in the "bin" directory (see pic2) and a lot of build errors (see the attached "archivegen.log" file).

      Also, I can do the following strange steps - include the result "archivegen.lib" file as the library (see pic3) and the build finishes correctly, but the result executable, at first, has too small size (see pic4) and, secondly, couldn't be run without errors (see pic5).

      Could you give some advice about this problem, please?

      Attachments

        1. archivegen.log
          13 kB
        2. pic1.png
          pic1.png
          68 kB
        3. pic2.png
          pic2.png
          22 kB
        4. pic3.png
          pic3.png
          110 kB
        5. pic4.png
          pic4.png
          68 kB
        6. pic5.png
          pic5.png
          89 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            installerteam Installer Team
            dsukhomlinov dsukhomlinov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes