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. Building Qt 5.10 debug on Windows Server 2012 R2 with VS2017

Building Qt 5.10 debug on Windows Server 2012 R2 with VS2017

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 968 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.
  • C Offline
    C Offline
    Crashdog
    wrote on last edited by Crashdog
    #1

    I ran into problems again when trying to compile QT 5.10 on windows server 2012 R2 with VS 2017.
    -> I deleted the complete qt-everywhere-src-5.10.0 folder and unziped from scratch.
    -> I removed following directories:
    qtgamepad
    qtmultimedia
    qtvirtualkeyboard
    qtwebglplugin
    -> Ran : configure.bat -static -release -debug -no-opengl -platform win32-msvc -opensource -confirm-license -nomake tests -prefix d:\qt\qt5.10
    -> nmake

    Eror : Debug Assertion Failed!
    Program: D:\QT\qt-everywhere-src-5.10.0\qtbase\bin\qlalr.exe
    file: minkernel\crts\ucrt\src\heap\debug_heap.cpp
    Line : 597
    Expression : _CrtlsValiedHeapPointer(block)
    (sorry if there are any typos I could not copy the text from the popup window.)
    followed by a window Qt Look Ahead LR Parser has stoppped working
    -> clicking close the program

    call D:\QT\qt-everywhere-src-5.10.0\qtremoteobjects\tools\repc\qlalr_wrapper.bat ....\src\repparser\parser.g
    NMAKE : fatal error U1077: 'call' : return code '0x80000003'
    Stop.
    NMAKE : fatal error U1077: '"D:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.10.25017\bin\HostX86\x86\nmake.exe"' : return cod
    e '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 had similar errors earlier but could continue to build.
    Is it possible that screen-lock has an impact on the compile process ?

    Earlier I build qt only with -rlease which worked. followed by adding the -debug option to the configure.bat. I could build it like that. But the issue that I reported earlier with the missing Depentent 'd:\qt\qt5.10\lib\QT5PrintSupportd.lib does not exist did not get solved by that. That's why I tried to build it from scratch again.

    [Edit]: I get similar error when compiling on my home system same setup except windows 10 pro.

    1 Reply Last reply
    0
    • E Offline
      E Offline
      ericlemanissier
      wrote on last edited by
      #2

      Same problem here with Qt 5.11.0, happening with Visual 2015 but not Visual 2017, only when Qt is configured as -static and -debug, with or without -static-runtime :
      call C:.conan_nwtri\1\qtremoteobjects\tools\repc\qlalr_wrapper.bat C:.conan\2sjrgr\1\qt5\qtremoteobjects\src\repparser\parser.g
      NMAKE : fatal error U1077: 'call' : return code '0x3'
      Stop.

      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