Build error



  • Hi
    when building quazip-0.7.3 using Qt 5.7.0 MSVC2013 I get this error:

    cl -c -nologo -Zc:wchar_t -FS -Zi -MDd -GR -W3 -w34100 -w34189 -w44996 -EHsc /Fddebug\qztest.pdb -DUNICODE -DWIN32 -DNOMINMAX -DQUAZIP_STATIC -DQT_QML_DEBUG -DQT_NETWORK_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR="\"D:/Projects/quazip-0.7.3/qztest\"" -I. -I..\..\zlib-1.2.11 -I. -I..\..\quazip-0.7.3 -IC:\Qt\5.7\msvc2013\include -IC:\Qt\5.7\msvc2013\include\QtNetwork -IC:\Qt\5.7\msvc2013\include\QtTest -IC:\Qt\5.7\msvc2013\include\QtCore -I.moc -IC:\Qt\5.7\msvc2013\mkspecs\win32-msvc2013 -Fo.obj\ @C:\Users\Martin\AppData\Local\Temp\moc_testquazip.obj.5360.4078.jom
    cl -c -nologo -Zc:wchar_t -FS -Zi -MDd -GR -W3 -w34100 -w34189 -w44996 -EHsc /Fddebug\qztest.pdb -DUNICODE -DWIN32 -DNOMINMAX -DQUAZIP_STATIC -DQT_QML_DEBUG -DQT_NETWORK_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR="\"D:/Projects/quazip-0.7.3/qztest\"" -I. -I..\..\zlib-1.2.11 -I. -I..\..\quazip-0.7.3 -IC:\Qt\5.7\msvc2013\include -IC:\Qt\5.7\msvc2013\include\QtNetwork -IC:\Qt\5.7\msvc2013\include\QtTest -IC:\Qt\5.7\msvc2013\include\QtCore -I.moc -IC:\Qt\5.7\msvc2013\mkspecs\win32-msvc2013 -Fo.obj\ @C:\Users\Martin\AppData\Local\Temp\moc_testquazipnewinfo.obj.5360.4078.jom
    moc_testquazip.cpp
    moc_testquazipnewinfo.cpp
    cl -c -nologo -Zc:wchar_t -FS -Zi -MDd -GR -W3 -w34100 -w34189 -w44996 -EHsc /Fddebug\qztest.pdb -DUNICODE -DWIN32 -DNOMINMAX -DQUAZIP_STATIC -DQT_QML_DEBUG -DQT_NETWORK_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR="\"D:/Projects/quazip-0.7.3/qztest\"" -I. -I..\..\zlib-1.2.11 -I. -I..\..\quazip-0.7.3 -IC:\Qt\5.7\msvc2013\include -IC:\Qt\5.7\msvc2013\include\QtNetwork -IC:\Qt\5.7\msvc2013\include\QtTest -IC:\Qt\5.7\msvc2013\include\QtCore -I.moc -IC:\Qt\5.7\msvc2013\mkspecs\win32-msvc2013 -Fo.obj\ @C:\Users\Martin\AppData\Local\Temp\moc_testquazipfileinfo.obj.5360.4094.jom
    moc_testquazipfileinfo.cpp
      /OUT:debug\qztest.exe @C:\Users\Martin\AppData\Local\Temp\qztest.exe.5360.5078.jom
    Syst‚m nem…§e nal‚zt uvedenou cestu. (comment: when translated this means System can't find the path)
    jom: D:\Projects\SunApp\quazip-0.7.3\qztest\Makefile.Debug [debug\qztest.exe] Error 1
    jom: D:\Projects\SunApp\quazip-0.7.3\qztest\Makefile [debug] Error 2
    jom: D:\Projects\SunApp\quazip-0.7.3\Makefile [sub-qztest-make_first] Error 2
    13:02:18: The process "C:\Qt\Tools\QtCreator\bin\jom.exe" exited with code 2.
    Error while building/deploying project quazip (kit: Desktop Qt 5.7.0 MSVC2013 32bit)
    

    Caan you please help what path is wrong?


  • Moderators

    @MartinD

    Did you check the path?
    Possibly you havean issue with anti-virus application, which is blocking or removing the compiled application.


  • Moderators

    @MartinD In past experience this is usually a permissions error of some sort. Sometimes I've seen it because of junctions, sometimes because of actual permissions issues.



  • Is C:\Users\Martin\AppData\Local\Temp the problematic path? Is it possible to change it? I disabled my Kaspersky antivirus, with no success. I also tried to manually copy some exe file to C:\Users\Martin\AppData\Local\Temp and it happily exists there with no issue.


  • Qt Champions 2017

    @MartinD said in Build error:

    Is C:\Users\Martin\AppData\Local\Temp the problematic path?

    I don't think so. Rather, the file C:\Users\Martin\AppData\Local\Temp\qztest.exe.5360.5078.jom contains the paths to the objects the linker will collect.

    Can you tell us the path your sources are located and the one to your build directory? Do they contain non-ASCII characters or spaces?

    Regards



  • Quazip sources are located at D:\Projects\quazip-0.7.3 and build directory is D:\Projects\build-quazip-Desktop_Qt_5_7_0_MSVC2013_32bit-Release

    I can't see any problem, these paths are very similar to paths used in my other Qt projects I build.


  • Qt Champions 2017

    @MartinD

    Both paths look sane fore me...

    I would expect some non-ASCII (or whitespace) chars to lead to problems like yours...



  • I give it up. I will use dll library which I managed to build.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.