Re: [Development] Problems compiling QtWebEngine in 5.8.0 beta

2016-11-10 Thread Harald Vistnes
FYI, using a shorter folder name solved the problem.

Thanks for your help.

Harald

2016-11-10 10:58 GMT+01:00 Edward Welbourne :

> > I've started a new build in a folder with a shorter name
>
> Good luck,
>
> Eddy.
>
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Problems compiling QtWebEngine in 5.8.0 beta

2016-11-10 Thread Harald Vistnes
Thanks for the input.

Creating a file named webcore_generated.HTMLImageElementOrHTMLVideoEle
mentOrHTMLCanvasElementOrBlobOrImageDataOrImageBitmap.obj.rsp in a shallow
folder was no problem.

However, if I try to create it in the folder where it should be generated:
D:\qt-everywhere-opensource-src-5.8.0-beta\qtwebengine\src\core\Release_x64\obj\src\3rdparty\chromium\third_party\WebKit\Source\core\gen\blink\bindings\core\v8

then Windows pops up an error message:
'Destination Path Too Long
The file name(s) would be too long for the destination folder...'

That complete path would be 270 characters, which is longer than the 260
characters maximum.

I've started a new build in a folder with a shorter name than
D:\qt-everywhere-opensource-src-5.8.0-beta,
so all paths should hopefully be less than 260 characters.

Harald


2016-11-10 9:50 GMT+01:00 Edward Welbourne :

> Harald Vistnes quoted an unhappy compiler:
> > ...\webcore_generated.HTMLImageElementOrHTMLVideoEle
> mentOrHTMLCanvasElementOrBlobOrImageDataOrImageBitmap.obj.rsp): Unable to
> create file. No such file or directory
>
> That's 110 bytes of file-name: does your file-system have a problem with
> names that long ?
> Try creating a file with that name and see what happens ...
> Not sure what to do if it refuses, but it's at least a diagnostic test,
>
> Eddy.
>
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Problems compiling QtWebEngine in 5.8.0 beta

2016-11-10 Thread Kai Koehne
> -Original Message-
> From: Development [mailto:development-bounces+kai.koehne=qt.io@qt-
> project.org] On Behalf Of Egor Pugin
> Sent: Wednesday, November 09, 2016 10:55 PM
> To: Harald Vistnes <harald.vist...@gmail.com>
> Cc: development@qt-project.org
> Subject: Re: [Development] Problems compiling QtWebEngine in 5.8.0 beta
> 
> Probably file path is too long.
> MS improved situation since win10.1607 (up to 32k symbols) but almost
> every program today (even from MS) is not able to handle such paths.
> They require special handling.
> See https://msdn.microsoft.com/en-
> us/library/windows/desktop/aa365247(v=vs.85).aspx
> for more info.

Sigh. We've been tweaking webengine already in the past to use relative paths,
but it  seems we didn't succeed everywhere.

Yeah, please make sure that the checkout path for qtwebengine is not too deep.

Reggards

Kai


> I had same issues with cmake+msbuild invocations.
> 
> On 9 November 2016 at 23:46, Harald Vistnes <harald.vist...@gmail.com>
> wrote:
> > Hi,
> >
> > I'm having problems compiling 5.8.0 beta from source. It fails when
> > making qtwebengine.
> >
> >
> > D:\qt-everywhere-opensource-src-5.8.0-
> beta\qtwebengine\src\3rdparty\ni
> > nja\ninja.exe
> > -C
> > D:/qt-everywhere-opensource-src-5.8.0-
> beta/qtwebengine/src/core/Releas
> > e_x64
> > ninja: Entering directory
> > `D:/qt-everywhere-opensource-src-5.8.0-
> beta/qtwebengine/src/core/Release_x64'
> > ninja: error:
> >
> WriteFile(obj\src\3rdparty\chromium\third_party\WebKit\Source\core\gen
> \blink\bindings\core\v8\webcore_generated.HTMLImageElementOrHTMLVi
> deoElementOrHTMLCanvasElementOrBlobOrImageDataOrImageBitmap.obj.
> rsp):
> > Unable to create file. No such file or directory
> >
> > ninja: build stopped: .
> > NMAKE : fatal error U1077:
> > 'D:\qt-everywhere-opensource-src-5.8.0-
> beta\qtwebengine\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.
> >
> > Environment:
> > Windows 10
> > VS2015 x64
> > Windows 10 SDK
> > ninja
> >
> > Any help would be appreciated.
> >
> > Thanks,
> > Harald
> >
> >
> >
> > ___
> > Development mailing list
> > Development@qt-project.org
> > http://lists.qt-project.org/mailman/listinfo/development
> >
> 
> 
> 
> --
> Egor Pugin
> ___
> Development mailing list
> Development@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Problems compiling QtWebEngine in 5.8.0 beta

2016-11-09 Thread Egor Pugin
Probably file path is too long.
MS improved situation since win10.1607 (up to 32k symbols) but almost
every program today (even from MS) is not able to handle such paths.
They require special handling.
See 
https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx
for more info.

I had same issues with cmake+msbuild invocations.

On 9 November 2016 at 23:46, Harald Vistnes  wrote:
> Hi,
>
> I'm having problems compiling 5.8.0 beta from source. It fails when making
> qtwebengine.
>
>
> D:\qt-everywhere-opensource-src-5.8.0-beta\qtwebengine\src\3rdparty\ninja\ninja.exe
> -C
> D:/qt-everywhere-opensource-src-5.8.0-beta/qtwebengine/src/core/Release_x64
> ninja: Entering directory
> `D:/qt-everywhere-opensource-src-5.8.0-beta/qtwebengine/src/core/Release_x64'
> ninja: error:
> WriteFile(obj\src\3rdparty\chromium\third_party\WebKit\Source\core\gen\blink\bindings\core\v8\webcore_generated.HTMLImageElementOrHTMLVideoElementOrHTMLCanvasElementOrBlobOrImageDataOrImageBitmap.obj.rsp):
> Unable to create file. No such file or directory
>
> ninja: build stopped: .
> NMAKE : fatal error U1077:
> 'D:\qt-everywhere-opensource-src-5.8.0-beta\qtwebengine\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.
>
> Environment:
> Windows 10
> VS2015 x64
> Windows 10 SDK
> ninja
>
> Any help would be appreciated.
>
> Thanks,
> Harald
>
>
>
> ___
> Development mailing list
> Development@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
>



-- 
Egor Pugin
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


[Development] Problems compiling QtWebEngine in 5.8.0 beta

2016-11-09 Thread Harald Vistnes
Hi,

I'm having problems compiling 5.8.0 beta from source. It fails when making
qtwebengine.


D:\qt-everywhere-opensource-src-5.8.0-beta\qtwebengine\src\3rdparty\ninja\ninja.exe
 -C
D:/qt-everywhere-opensource-src-5.8.0-beta/qtwebengine/src/core/Release_x64
ninja: Entering directory
`D:/qt-everywhere-opensource-src-5.8.0-beta/qtwebengine/src/core/Release_x64'
ninja: error:
WriteFile(obj\src\3rdparty\chromium\third_party\WebKit\Source\core\gen\blink\bindings\core\v8\webcore_generated.HTMLImageElementOrHTMLVideoElementOrHTMLCanvasElementOrBlobOrImageDataOrImageBitmap.obj.rsp):
Unable to create file. No such file or directory

ninja: build stopped: .
NMAKE : fatal error U1077:
'D:\qt-everywhere-opensource-src-5.8.0-beta\qtwebengine\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.

Environment:
Windows 10
VS2015 x64
Windows 10 SDK
ninja

Any help would be appreciated.

Thanks,
Harald
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development