Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. Qt 5.8 - MSVC 2015 (x64) - Build error
Forum Updated to NodeBB v4.3 + New Features

Qt 5.8 - MSVC 2015 (x64) - Build error

Scheduled Pinned Locked Moved Solved QtWebEngine
5 Posts 5 Posters 3.8k 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.
  • J Offline
    J Offline
    josuegomes
    wrote on last edited by
    #1

    Hi all,

    I'm trying to build Qt 5.8 (from qt-everywhere-opensource-src-5.8.0) withe MSVC 2015 (aka vc14) with the x64 toolset.

    My configure is:

    configure -prefix C:\Qt5 -release -opensource -confirm-license -opengl dynamic -nomake tests

    Then with a

    nmake release

    I'm getting this error:

        C:\Projects\qt-everywhere-opensource-src-5.8.0\qtwebengine\src\3rdparty\
    

    ninja\ninja.exe -C C:/Projects/qt-everywhere-opensource-src-5.8.0/qtwebengine/s
    rc/core/Release_x64
    ninja: Entering directory `C:/Projects/qt-everywhere-opensource-src-5.8.0/qtwebe
    ngine/src/core/Release_x64'
    ninja: error: WriteFile(device_vibration_mojo_bindings_for_blink_target_device_v
    ibration_mojo_bindings_for_blink_mojom_bindings_generator_7b1b459f5dc23e210887ba
    f7c6c280c3.7b3e03a290ae36742187770e8d9b6182.rsp): Unable to create file. No such
    file or directory

    ninja: build stopped: .
    NMAKE : fatal error U1077: 'C:\Projects\qt-everywhere-opensource-src-5.8.0\qtweb
    engine\src\3rdparty\ninja\ninja.exe' : return code '0x1'
    Stop.
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0
    \VC\BIN\amd64\nmake.exe"' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: '(' : 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.

    Any idea?

    regards,
    josue

    1 Reply Last reply
    0
    • m.sueM Offline
      m.sueM Offline
      m.sue
      wrote on last edited by
      #2

      Hi,
      probably the path is too long for WINDOWS. Please try to build Qt (with Webkit) in "c:\5.8.0"
      -Michael.

      1 Reply Last reply
      0
      • D Offline
        D Offline
        dreevespracticeinsight.net
        wrote on last edited by
        #3

        Would this be an alternative to renaming the directory name:

        read this ==> https://mspoweruser.com/ntfs-260-character-windows-10/

        1 Reply Last reply
        0
        • T Offline
          T Offline
          ThatDud3
          wrote on last edited by
          #4

          Please pay attention to the fact that so called LFN (Long File Names) are affected not only by length but also by (some) special characters e.g.: 5.8.0 is a LFN so is "5 8 0" with spaces while correct short name will be 5_8_0 or 580

          as you can see from my little test here (original/actual name is the last column and short name - IF PRESENT is in the next to last column)

          C:\TEMP>dir 5* /x
          02/23/2017  10:46 AM    <DIR>          580~1        5 8 0
          02/23/2017  10:44 AM    <DIR>          58D237~1.0   5.8.0
          02/23/2017  10:45 AM    <DIR>                       5_8_0
          

          Visual Studio (especially C/C++ compilers and linker) are notoriously known to stick to Short File Names (SFN)

          so my suggestion is to use a shorter path and try to keep it (all the way down) all in SFN
          e.g. C:\Projects\qt580.src\webeng\src\3rdparty\

          1 Reply Last reply
          0
          • B Offline
            B Offline
            blogrussell
            wrote on last edited by
            #5

            Hi, for problems concerning path too long issues, I suggest you to try the new long path tool. This can help you with all kinds of path too long cases.

            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