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. Build error

Build error

Scheduled Pinned Locked Moved Unsolved General and Desktop
8 Posts 4 Posters 1.1k 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.
  • M Offline
    M Offline
    MartinD
    wrote on last edited by MartinD
    #1

    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?

    K A 2 Replies Last reply
    0
    • M MartinD

      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?

      K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      @MartinD

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

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      3
      • M MartinD

        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?

        A Offline
        A Offline
        ambershark
        wrote on last edited by
        #3

        @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.

        My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

        1 Reply Last reply
        2
        • M Offline
          M Offline
          MartinD
          wrote on last edited by MartinD
          #4

          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.

          aha_1980A 1 Reply Last reply
          0
          • M MartinD

            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.

            aha_1980A Offline
            aha_1980A Offline
            aha_1980
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @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

            Qt has to stay free or it will die.

            1 Reply Last reply
            1
            • M Offline
              M Offline
              MartinD
              wrote on last edited by
              #6

              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.

              aha_1980A 1 Reply Last reply
              0
              • M MartinD

                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.

                aha_1980A Offline
                aha_1980A Offline
                aha_1980
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @MartinD

                Both paths look sane fore me...

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

                Qt has to stay free or it will die.

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  MartinD
                  wrote on last edited by
                  #8

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

                  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