• Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Windows NMAKE : fatal error

    Scheduled Pinned Locked Moved Development
    3 Posts 2 Posters 2.8k Views
    Loading More Posts
    • 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.
    • R
      romario781
      last edited by

      [ 62%] Building CXX object CMakeFiles/strawberry_lib.dir/src/qobuz/moc_qobuzstreamurlrequest.cpp.obj
      [ 62%] Building CXX object CMakeFiles/strawberry_lib.dir/src/qobuz/moc_qobuzfavoriterequest.cpp.obj
      [ 62%] Building CXX object CMakeFiles/strawberry_lib.dir/src/settings/moc_qobuzsettingspage.cpp.obj
      [ 62%] Building CXX object CMakeFiles/strawberry_lib.dir/src/covermanager/moc_qobuzcoverprovider.cpp.obj
      [ 62%] Building CXX object CMakeFiles/strawberry_lib.dir/qrc_data.cpp.obj
      [ 62%] Building CXX object CMakeFiles/strawberry_lib.dir/qrc_icons.cpp.obj
      [ 62%] Linking CXX static library strawberry_lib.lib
      [ 94%] Built target strawberry_lib
      [ 97%] Built target strawberry_lrelease
      [ 97%] Building CXX object CMakeFiles/strawberry.dir/src/main.cpp.obj
      [ 97%] Building RC object CMakeFiles/strawberry.dir/windres.rc.res
      [ 97%] Building CXX object CMakeFiles/strawberry.dir/build/.qt/rcc/qrc_translations.cpp.obj
      NMAKE : fatal error U1073: don't know how to make 'strawberry_lib.lib'
      Stop.
      NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\bin\HostX64\x64\nmake.exe" -s -f CMakeFiles\strawberry.dir\build.make /nologo -SL                 CMakeFiles\strawberry.dir\build' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\bin\HostX64\x64\nmake.exe" -s -f CMakeFiles\Makefile2 /nologo -LS                 all' : return code '0x2'
      Stop.
      
      C:\data\projects\strawberry\strawberry-msvc>
      
      jonasJ 1 Reply Last reply
      Reply Quote 0
      • jonasJ
        jonas @romario781
        last edited by jonas

        @romario781
        The error doesn't make much sense since the first messages says strawberry_lib.lib was generated, but later it says it "doesn't know how to make", do you have some sort of anti-virus removing or blocking the files? Does strawberry_lib.lib exist?
        Please share the CMake command and full output with ``--log-level=DEBUG"`?

        And I'm curious, why do you use NMake and not Ninja or Visual Studio 17? NMake is really slow.

        1 Reply Last reply
        Reply Quote 0
        • R
          romario781
          last edited by

          Mysticism! 🙂
          Everything worked out today.

          Output: "c:\data\projects\strawberry\msvc_\build_release\strawberry\build\StrawberrySetup-1.2.13.3.gce4f2ece-msvc-x64.exe"
          Install: 7 pages (448 bytes), 12 sections (24864 bytes), 933 instructions (26124 bytes), 509 strings (88228 bytes), 1 language table (318 bytes).
          Uninstall: 4 pages (320 bytes), 1 section (2072 bytes), 490 instructions (13720 bytes), 350 strings (14474 bytes), 1 language table (282 bytes).
          Datablock optimizer saved 55686 bytes (~0.0%).
          
          Using lzma (compress whole) compression.
          
          EXE header size:               64512 / 38912 bytes
          Install code:                          (140446 bytes)
          Install data:                          (181707820 bytes)
          Uninstall code+data:                   (122942 bytes)
          Compressed data:            73031100 / 181971208 bytes
          CRC (0xAEF4CE05):                  4 / 4 bytes
          
          Total size:                 73095616 / 182010124 bytes (40.1%)
          
          1 Reply Last reply
          Reply Quote 1

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          Powered by NodeBB | Contributors