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. Qt 5.11.0 static openssl linked build fails
Forum Updated to NodeBB v4.3 + New Features

Qt 5.11.0 static openssl linked build fails

Scheduled Pinned Locked Moved Unsolved General and Desktop
c++msvc2015qt5.11.0
2 Posts 2 Posters 1.4k 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.
  • G Offline
    G Offline
    goldstar2154
    wrote on last edited by goldstar2154
    #1

    Basically i dont know what going on(
    Here is config for only debug build:
    MSVC14
    Openssl: 1.0.2o

    configure -opensource -confirm-license -debug -static -static-runtime -platform win32-msvc -prefix "c:\Qt\5.11.01\static" -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -qt-freetype -opengl dynamic -skip qt3d -skip qttools -skip qtdoc -skip qtwayland -skip qtwebview -skip qtwebengine -skip qtwebchannel -skip qtscript -no-qml-debug -no-icu -no-compile-examples -make libs -nomake tools -nomake examples -nomake tests -I "C:/OpenSSLWin32/include" -L "C:/OpenSSLWin32/lib/VC/static" OPENSSL_LIBS="libeay32MTd.lib ssleay32MTd.lib"
    

    since building got error:

    Debug Assertion Failed!
    
    Program: C:\Qt\5.11.01\src\qtbase\bin\qlalr.exe
    File: minkernel\crts\ucrt\src\appcrt\heap\debug_heap.cpp
    Line: 597
    
    Expression: _CrtIsValidHeapPointer(block)
    
    For information on how your program can cause an assertion
    failure, see the Visual C++ documentation on asserts.
    
    (Press Retry to debug the application)
    

    Error causes at build step:

    call C:\Qt\5.11.01\src\qtremoteobjects\tools\repc\qlalr_wrapper.bat ..\..\src\repparser\parser.g
    NMAKE : fatal error U1077: 'call' : return code '0xc0000374'
    Stop.
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\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 read about compiler bug for vs2017, but i'm using vs2015...
    any help appreciated

    this error looks like mismathicng debug and release libs but i dont understnad what is the reason...

    UPD1: i dont manually edit c:\Qt\5.11.01\src\qtbase\mkspecs\common\msvc-desktop.conf (MD=>MT) cause we have -static-runtime flag

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

      Same problem here with Qt 5.11.0 without ssl, 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