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. Qt5 Static Build Error
QtWS25 Last Chance

Qt5 Static Build Error

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

    I'm trying to build the Qt static libraries, but I get the following error:
    @
    LINK : fatal error LNK1181: cannot open input file 'SDK\Lib\x86.obj'
    NMAKE : fatal error U1077: '"c:\Development\Visual Studio 2010\VC\BIN\link.EXE"'
    : return code '0x49d'
    Stop.
    NMAKE : fatal error U1077: '"c:\Development\Visual Studio 2010\VC\BIN\nmake.exe"
    ' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    @

    I'm using this guide, downloading the Qt libraries from the git repository: "Guide":http://qt-project.org/wiki/Building_Qt_5_from_Git

    I have Perl, Python, and Ruby installed and using msvc2010 Express on Windows 7. I have another "dynamic/shared" version of the Qt libraries and that works perfectly well, but I'm using a separate location to re-download and compile Qt statically.

    My configure command looks like this:
    @
    configure -static -mp -developer-build -nomake tests -nomake examples -release -opensource
    @

    The configure didn't show me any errors and I only used nmake since "nmake sub-src" gave me an error "nmake doesn't know how to make sub-src"

    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