Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

[SOLVED] nmake issue during 5.2.0 building with MSVC 2013 32bit



  • Hello,

    I have compiled QT 5.2.0 with MSVC 2013 64bit without a problem.
    But when I do the same for 32bit I have problem with nmake understanding some makefiles.

    I see error like below
    @ (set PATH=C:\Src\qt-everywhere-opensource-src-5.2.0\qtbase\lib;%PATH:)=^)%) & C:\Src\qt-everywhere-opensource-src-5.2.0\qtbase\bin\u
    ic.exe dialogs\qfiledialog.ui -o .uic\ui_qfiledialog.h
    NMAKE : fatal error U1077: '(set' : return code '0xc000007b'
    Stop.
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.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.@

    For some reason nmake doesn't consider makefile piece below as correct.

    @.uic\ui_qfiledialog.h: dialogs\qfiledialog.ui
    (set PATH=C:\Src\qt-everywhere-opensource-src-5.2.0\qtbase\lib;%%PATH:)=^)%%) & C:\Src\qt-everywhere-opensource-src-5.2.0\qtbase\bin\uic.exe dialogs\qfiledialog.ui -o .uic\ui_qfiledialog.h@

    This is in the "\qtbase\src\widgets\Makefile.Debug" and "\qtbase\src\widgets\Makefile.Release" makefiles.
    Does anybody have idea what could be wrong here? And why this is an issue for 32 bit only?



  • Case closed. I have found out what issue was. It wasn't about nmake.
    I forgot to include in the PATH variable paths to ICU and OpenSSL 32 bit binaries. In result compiled uic.exe couldn't run. Now I can build 32 bit version as well.


  • Lifetime Qt Champion

    Hi,

    Glad you found out !

    Can you also please update the thread title prepending [solved] so other forum users may know a solution has been found :)



  • @serg675, Great that it worked out!

    Will the MSVC2013-32-bit+Qt5.2 be made available anywhere for lazy people (like me)?


  • Lifetime Qt Champion

    AFAIK, official packages for VS2013 are not yet on the menu


Log in to reply