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. Fatal error U1077 (Qt 5.7.0 MSVC2013 64 bits)
Forum Updated to NodeBB v4.3 + New Features

Fatal error U1077 (Qt 5.7.0 MSVC2013 64 bits)

Scheduled Pinned Locked Moved Solved General and Desktop
30 Posts 4 Posters 20.2k Views 2 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 jmarcos

    Yes, I just tried a Qt quick application and it was built fine and run as well.

    J Offline
    J Offline
    jmarcos
    wrote on last edited by
    #11

    17:38:39: Starting: "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\nmake.exe"
    "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\nmake.exe" -f Makefile.Release
    17:38:39: The process "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\nmake.exe" exited normally.
    17:38:39: Elapsed time: 00:00.

    J 1 Reply Last reply
    0
    • J jmarcos

      17:38:39: Starting: "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\nmake.exe"
      "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\nmake.exe" -f Makefile.Release
      17:38:39: The process "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\nmake.exe" exited normally.
      17:38:39: Elapsed time: 00:00.

      J Offline
      J Offline
      jmarcos
      wrote on last edited by
      #12

      @jmarcos The previous was for the TestApp not ANTS2 Project!

      1 Reply Last reply
      0
      • mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by
        #13

        Hi
        a C++ Qt quick application ?
        Could you try a
        "Qt widget application" default project?

        If that also works, then it must be that projects make file that is not ok?

        1 Reply Last reply
        0
        • J Offline
          J Offline
          jmarcos
          wrote on last edited by
          #14

          The default "Qt widget application" was successfully built.

          mrjjM 1 Reply Last reply
          1
          • J jmarcos

            The default "Qt widget application" was successfully built.

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #15

            @jmarcos
            Ok, then the toolchain does work.
            It must be the project then ?
            Did you make the make file yourself or what is its origin?

            1 Reply Last reply
            0
            • J Offline
              J Offline
              jmarcos
              wrote on last edited by
              #16

              The make file is made by the qmake.

              This is the header of the automatic created file:

              #############################################################################
              # Makefile for building: ants2
              # Generated by qmake (3.0) (Qt 5.7.0)
              # Project:  ..\ANTS2\ants2.pro
              # Template: app
              # Command: C:\Qt\5.7\msvc2015_64\bin\qmake.exe -spec win32-msvc2015 -o Makefile ..\ANTS2\ants2.pro
              #############################################################################
              1 Reply Last reply
              0
              • mrjjM Offline
                mrjjM Offline
                mrjj
                Lifetime Qt Champion
                wrote on last edited by
                #17

                hmm
                so here it uses 2015 compiler

                I wonder if the default sample used vs2013 ?

                Did you install BOTH Qt 2015 and Qt 2013 binary packets?

                Also did u try with
                -spec win32-msvc2013

                ?

                1 Reply Last reply
                0
                • J Offline
                  J Offline
                  jmarcos
                  wrote on last edited by
                  #18

                  Yes, both are installed and also tried win32-msvc2013.
                  mrjj, many thanks for your help. Let me discuss this problem tomorrow with the code developer. Today I updated Qt to Qt5.7and after that, when I tried to compile the Project I want to build and run (to use the application - a simulation software), I got the building error I reported here in the Forum. The Project was built before for Qt5.4 without problems.

                  mrjjM 2 Replies Last reply
                  1
                  • J jmarcos

                    Yes, both are installed and also tried win32-msvc2013.
                    mrjj, many thanks for your help. Let me discuss this problem tomorrow with the code developer. Today I updated Qt to Qt5.7and after that, when I tried to compile the Project I want to build and run (to use the application - a simulation software), I got the building error I reported here in the Forum. The Project was built before for Qt5.4 without problems.

                    mrjjM Offline
                    mrjjM Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on last edited by
                    #19

                    @jmarcos
                    Good plan.
                    Its this public (the simulation software) ?
                    I mean to try the project.

                    J 1 Reply Last reply
                    0
                    • J jmarcos

                      Yes, both are installed and also tried win32-msvc2013.
                      mrjj, many thanks for your help. Let me discuss this problem tomorrow with the code developer. Today I updated Qt to Qt5.7and after that, when I tried to compile the Project I want to build and run (to use the application - a simulation software), I got the building error I reported here in the Forum. The Project was built before for Qt5.4 without problems.

                      mrjjM Offline
                      mrjjM Offline
                      mrjj
                      Lifetime Qt Champion
                      wrote on last edited by
                      #20

                      @jmarcos

                      Hi
                      Tomorrow could you
                      Show compiler, debugger and kit screens from creator (with the set options)
                      Then grab the qmake line from the Creator's output pane and show here too ?

                      J 1 Reply Last reply
                      0
                      • mrjjM mrjj

                        @jmarcos
                        Good plan.
                        Its this public (the simulation software) ?
                        I mean to try the project.

                        J Offline
                        J Offline
                        jmarcos
                        wrote on last edited by
                        #21

                        @mrjj Yes, it is. You are very welcome to try it. Anyway, it take some time to install (at least you need to install CERN ROOT library before build ANTS2). You should think if it is worth trying for you :)

                        With ANTS2 you can simulate neutrons detectors, detectors for dark matter search, medical gamma cameras for scintigraphy (functional imagiology), etc.

                        From the Project webpage:

                        ANTS2 is a simulation and experimental data processing package for Anger camera-type detectors. The package is intended for:

                        • Optimization of detector design and geometry using Monte Carlo simulations
                        • Optimization and development of event reconstruction techniques
                        • Adaptive reconstruction of detector response using flood field illumination data
                        • Reconstruction and filtering of events for experimental data

                        ANTS2 webpage

                        1 Reply Last reply
                        0
                        • mrjjM mrjj

                          @jmarcos

                          Hi
                          Tomorrow could you
                          Show compiler, debugger and kit screens from creator (with the set options)
                          Then grab the qmake line from the Creator's output pane and show here too ?

                          J Offline
                          J Offline
                          jmarcos
                          wrote on last edited by
                          #22

                          @mrjj Yes, I can, tomorrow. Anyway, I tried before to upload a photo (it is my first time in the Forum) and I didn't manage to do it. Could you please teach me how to upload a photo :)

                          mrjjM 1 Reply Last reply
                          0
                          • J jmarcos

                            @mrjj Yes, I can, tomorrow. Anyway, I tried before to upload a photo (it is my first time in the Forum) and I didn't manage to do it. Could you please teach me how to upload a photo :)

                            mrjjM Offline
                            mrjjM Offline
                            mrjj
                            Lifetime Qt Champion
                            wrote on last edited by
                            #23

                            @jmarcos
                            Hi sadly , after forum upgrade, the image upload has issues.
                            So best is just use external site
                            like postimage.org
                            and simply paste the link here :)

                            thank you for the ant2 link :)

                            1 Reply Last reply
                            0
                            • J Offline
                              J Offline
                              jmarcos
                              wrote on last edited by jmarcos
                              #24

                              Kit
                              Compiler
                              Debuggers

                              jsulmJ 1 Reply Last reply
                              0
                              • J jmarcos

                                Kit
                                Compiler
                                Debuggers

                                jsulmJ Offline
                                jsulmJ Offline
                                jsulm
                                Lifetime Qt Champion
                                wrote on last edited by
                                #25

                                @jmarcos These pictures are so small it is impossible to see anything (even if I click on them)...

                                https://forum.qt.io/topic/113070/qt-code-of-conduct

                                1 Reply Last reply
                                1
                                • J Offline
                                  J Offline
                                  jmarcos
                                  wrote on last edited by
                                  #26

                                  Kits

                                  Compilers

                                  Debuggers

                                  1 Reply Last reply
                                  1
                                  • J Offline
                                    J Offline
                                    jmarcos
                                    wrote on last edited by
                                    #27

                                    Sorry, I read again the Windows instructions guide and I realized that it says I should install 32 bits version of Qt, and I have installed 64 bit Qt. It should not work with 32 bit version of CERN - ROOT binaries.

                                    http://coimbra.lip.pt/ants/install-windows.html

                                    Thank you very much for your time.
                                    João

                                    1 Reply Last reply
                                    0
                                    • J Offline
                                      J Offline
                                      jmarcos
                                      wrote on last edited by
                                      #28

                                      Hum, not solved yet.
                                      I have installed 32-bit version of Qt and I'm using Microsoft Visual C++ 11.0

                                      --
                                      NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\link.EXE"' : return code '0x527'
                                      Stop.
                                      NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\nmake.exe"' : return code '0x2'
                                      Stop.
                                      17:29:05: The process "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\nmake.exe" exited with code 2.
                                      Error while building/deploying project ants2 (kit: Qt 5.7MSVC2013_32bit MV C++ Compiler 11.0 (x86))
                                      When executing step "Make"

                                      kshegunovK 1 Reply Last reply
                                      0
                                      • J Offline
                                        J Offline
                                        jmarcos
                                        wrote on last edited by
                                        #29

                                        Now it is solved. Thak you again!

                                        The solution was really install the 32-bit version of Qt and use the default kit: "Qt 5.7.0 MSVC2013 32bit", which has as compiler "Microsoft Visual C++ Compiler 12.0 (amd64_arm)".

                                        The reason is that the ANTS2 Project is using the 32 bit version of CERN - ROOT binaries.

                                        The Qt version I have installed is this one:
                                        "Qt 5.7.0 for Windows 32-bit (VS 2013, 909 MB)"

                                        It is available at the Qt downloads site:
                                        https://www.qt.io/download-open-source/#section-4

                                        1 Reply Last reply
                                        0
                                        • J jmarcos

                                          Hum, not solved yet.
                                          I have installed 32-bit version of Qt and I'm using Microsoft Visual C++ 11.0

                                          --
                                          NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\link.EXE"' : return code '0x527'
                                          Stop.
                                          NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\nmake.exe"' : return code '0x2'
                                          Stop.
                                          17:29:05: The process "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\nmake.exe" exited with code 2.
                                          Error while building/deploying project ants2 (kit: Qt 5.7MSVC2013_32bit MV C++ Compiler 11.0 (x86))
                                          When executing step "Make"

                                          kshegunovK Offline
                                          kshegunovK Offline
                                          kshegunov
                                          Moderators
                                          wrote on last edited by
                                          #30

                                          @jmarcos
                                          You need to match compilers as well as word size (32 vs 64bits). If your CERN Root w/e is compiled with MSVC 11, you need to stick with that version of the compiler all along (including Qt and including the executable + any external libraries you may require). Basically everything has to be compiled with the same compiler, make sure that's the case. Also peek at the bugtracker for any known issues.

                                          Read and abide by the Qt Code of Conduct

                                          1 Reply Last reply
                                          1

                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups
                                          • Search
                                          • Get Qt Extensions
                                          • Unsolved