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. install qt5.9.1 from src by vs2017 error.nmake: fatal error u1077
Forum Updated to NodeBB v4.3 + New Features

install qt5.9.1 from src by vs2017 error.nmake: fatal error u1077

Scheduled Pinned Locked Moved Solved Installation and Deployment
3 Posts 2 Posters 1.8k 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.
  • S Offline
    S Offline
    suclida
    wrote on last edited by
    #1

    my os is win7 x64. I have installed vs2017 at "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community".
    I want to build qt library with msvc14.1 either msvc14.0. because I have bulid boost with msvc14.1.
    I run the "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\vcvars64.bat",
    and then

    cd /d F:\qt-everywhere-opensource-src-5.9.1
    .\configure -prefix F:\qt-5.9.1 -release -debug -nomake tests -nomake examples -confirm-license
    nmake
    

    Now, there was somethings wrong:
    ../../3rdparty/chromium\ui\gfx/geomerty/mojo/gemomerty_struct_traits.h
    ninjia: bulid stopped: subcommand failed.
    nmake: fatal error u1077: 'call' : return '0x1'
    stop.
    nmake:fatal error u1077: "...........\2017\Community\vc\tools\14.11.25503\bin\hostx64\x64\nmake.exe": return code '0x2"
    stop.
    ............................

    Thank you very much for your help!

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

      Hi,

      Might be a silly question but do you have all the dependencies to build the QtWebEngine module ? Note that if you don't need that module, you can avoid building it.

      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
      1
      • S Offline
        S Offline
        suclida
        wrote on last edited by
        #3

        Thank you very much!
        When I

        nmake > nmake.out.txt 2>&1
        

        , as you know, some error happened at qtwebengine.
        so I

        configure.bat -skip qtwebengine -redo
        

        I can build it successfully.

        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