[Interest] Qt 5.8 failed to build on Windows: EGL/egl.h: No such file or directory

Émeric MASCHINO emeric.maschino at gmail.com
Fri Sep 2 17:36:40 CEST 2016


"Fortunately", same problem with nmake.

     Émeric

2016-09-02 13:16 GMT+02:00 Émeric MASCHINO <emeric.maschino at gmail.com>:
> So I started everything from scratch on a clean PC this morning using
> the Qt 5.8.0-alpha source just released yesterday. I ensured
> thatthere's no egl.h header on this PC. I configured as follows:
>
> configure -opensource -confirm-license -opengl dynamic -nomake
> examples -nomake tests -prefix C:\Qt\5.8\msvc2015_64\bin
>
> jom repeatedly fails with:
>
> [276/8125] CXX obj\src\3rdparty\chromium\third_party\webrtc\common_audio\resampler\common_audio.resampler.obj
> FAILED: ninja -t msvc -e environment.x64 -- cl.exe /nologo
> /showIncludes /FC
> @obj\src\3rdparty\chromium\base\win\base.win_util.obj.rsp /c
> c:\qt\qt-everywhere-opensource-src-5.8.0-alpha\qtwebengine\src\3rdparty\chromium\base\win\win_util.cc
> /Foobj\src\3rdparty\chromium\base\win\base.win_util.obj
> /Fdobj\src\3rdparty\chromium\base\base.cc.pdb
>
> Should I try with nmake?
>
>      Émeric
>
> 2016-09-01 22:14 GMT+02:00 Émeric MASCHINO <emeric.maschino at gmail.com>:
>> Sorry for the late reply.
>>
>> Well, I don't know what went wrong the first time.
>>
>> I've uninstalled the AMD OpenGL ES SDK kit since then and ensured that
>> there's no EGL header/Library leftover.
>>
>> Then I restarted the whole process from scratch. I had various
>> compilation errors when using jom (don't remember which ones) that
>> strangely didn't surface when using nmake. With nmake, I only had one
>> compilation error that disappeared when I ran nmake once again. The
>> process then completed as it seems (there's no global success or
>> failure message for the whole Qt compilation process, so it's hard to
>> say).
>>
>> Anyway, I can use my local Qt 5.8.0-alpha build and it seems to work
>> with the projects I used to work with Qt 5.7. I even ran flawlessly a
>> new project relying upon QtVulkan module from Laszlo [1] that needs Qt
>> 5.8.0.
>>
>> So for the time being, let's say "sorry for the noise".
>>
>>      Émeric
>>
>>
>> [1] https://github.com/alpqr/qtvulkan
>>
>>
>> 2016-08-17 22:16 GMT+02:00 Thiago Macieira <thiago.macieira at intel.com>:
>>> On terça-feira, 16 de agosto de 2016 17:41:27 PDT Émeric MASCHINO wrote:
>>>> Hi,
>>>>
>>>> Does anybody had success building Qt 5.8.0-alpha latest snapshot [1] on
>>>> Windows? Following advice in [2], I've configured my build with:
>>>>
>>>> c:\qt\qt5.8.0\configure -opengl dynamic
>>>>
>>>> However, I'm getting compilation errors in various modules because of
>>>> missing EGL/egl.h header, such as:
>>>>
>>>> c:\qt\qt5.8.0\qtmultimedia\src\plugins\common\evr\evrd3dpresentengine.h(49):
>>>> fatal error C1083: Impossible d'ouvrir le fichier include :
>>>> 'EGL/egl.h' : No such file or directory
>>>
>>> Hello Émeric
>>>
>>> Can you attach the output of:
>>>  - configure
>>>  - qmake in the qtmultimedia dir (please remove .qmake.cache and run it again)
>>>  - the full command-line that jom -u prints when building the file that failed.
>>>
>>> Looks like you have evr.h, which enabled this functionality.
>>>
>>> --
>>> Thiago Macieira - thiago.macieira (AT) intel.com
>>>   Software Architect - Intel Open Source Technology Center
>>>
>>> _______________________________________________
>>> Interest mailing list
>>> Interest at qt-project.org
>>> http://lists.qt-project.org/mailman/listinfo/interest



More information about the Interest mailing list