Page 1 of 1

Compilation error: dxgi1_4.h: No such file or directory

Posted: 24 Mar 2017 06:17
by anenigma
Hi all,

I'm cross compiling VLC for Windows on Ubuntu 16.04. I'm following directions here: https://wiki.videolan.org/Win32Compile

I first ran into the issues described here at https://forum.videolan.org/viewtopic.php?t=137580 and the solution provided got the ball rolling again. Unfortunately, I'm hitting a new error and I cannot find anything online to help. I'd appreciate some help.

The error is below. Indeed, that file is no where to be found in the VLC source directory. I googled and found reference to that file at https://github.com/apitrace/dxsdk/blob/ ... /dxgi1_4.h. I took a shot in the dark and try the trick of just adding the header file which fixed the last problem. No dice and it starts looking for the associated functions and I have no idea where they would be.

Any ideas?

Code: Select all

CXXLD libprojectm_plugin.la CC visualization/visual/visual.lo CC visualization/visual/effects.lo CCLD libvisual_plugin.la CC video_output/opengl/libgl_plugin_la-vout_helper.lo CC video_output/opengl/libgl_plugin_la-converters.lo CC video_output/opengl/libgl_plugin_la-display.lo CCLD libgl_plugin.la CC video_output/win32/libdirect3d9_plugin_la-direct3d9.lo CC video_output/win32/libdirect3d9_plugin_la-common.lo CC video_output/win32/libdirect3d9_plugin_la-events.lo CC video_output/win32/libdirect3d9_plugin_la-win32touch.lo CCLD libdirect3d9_plugin.la CC video_output/win32/libdirect3d11_plugin_la-direct3d11.lo ../../extras/package/win32/../../../modules/video_output/win32/direct3d11.c:43:21: fatal error: dxgi1_4.h: No such file or directory compilation terminated. Makefile:16462: recipe for target 'video_output/win32/libdirect3d11_plugin_la-direct3d11.lo' failed make[4]: *** [video_output/win32/libdirect3d11_plugin_la-direct3d11.lo] Error 1 make[4]: Leaving directory '/home/user/tmp/vlc/win32/modules' Makefile:20669: recipe for target 'all-recursive' failed make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory '/home/user/tmp/vlc/win32/modules' Makefile:8880: recipe for target 'all' failed make[2]: *** [all] Error 2 make[2]: Leaving directory '/home/user/tmp/vlc/win32/modules' Makefile:1513: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/user/tmp/vlc/win32' Makefile:1398: recipe for target 'all' failed make: *** [all] Error 2

Re: Compilation error: dxgi1_4.h: No such file or directory

Posted: 14 Apr 2017 14:18
by Jean-Baptiste Kempf
Remake your contribs.

Re: Compilation error: dxgi1_4.h: No such file or directory

Posted: 01 May 2017 15:40
by pri77
Can you please tell us which dependency/library should be remade?

Re: Compilation error: dxgi1_4.h: No such file or directory

Posted: 11 Jun 2017 16:54
by Jean-Baptiste Kempf
.dxgi

Re: Compilation error: dxgi1_4.h: No such file or directory

Posted: 04 Jul 2017 13:19
by waqar_alii
I am also stuck on this part, but there is no contrib for .dxgi.

Re: Compilation error: dxgi1_4.h: No such file or directory

Posted: 11 Jul 2017 10:49
by chouquette
You should remove d3d11 folder and .d3d11 empty file, then re-run "make .d3d11"

That should do it (basically .d3d11 is the root rule, and it should ensure all dxgi headers are correctly generated)