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

This forum is about all development around libVLC.
anenigma
New Cone
New Cone
Posts: 1
Joined: 24 Mar 2017 06:02

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

Postby anenigma » 24 Mar 2017 06:17

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

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

Postby Jean-Baptiste Kempf » 14 Apr 2017 14:18

Remake your contribs.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

pri77
New Cone
New Cone
Posts: 1
Joined: 01 May 2017 15:25

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

Postby pri77 » 01 May 2017 15:40

Can you please tell us which dependency/library should be remade?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

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

Postby Jean-Baptiste Kempf » 11 Jun 2017 16:54

.dxgi
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

waqar_alii
New Cone
New Cone
Posts: 2
Joined: 30 Jun 2017 08:03

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

Postby waqar_alii » 04 Jul 2017 13:19

I am also stuck on this part, but there is no contrib for .dxgi.

chouquette
Developer
Developer
Posts: 291
Joined: 15 Apr 2010 00:54

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

Postby chouquette » 11 Jul 2017 10:49

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)


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 16 guests