tag:help.appveyor.com,2012-11-13:/discussions/problems/13924-build-failing-to-include-direct-x-filesAppVeyor: Discussion 2018-08-25T02:28:16Ztag:help.appveyor.com,2012-11-13:Comment/451862462018-04-27T23:15:29Z2018-04-27T23:15:29ZBuild failing to include Direct x files<div><p>Quick Google search reveals <a href="https://stackoverflow.com/a/7913327/6733637">this</a> advice and search for <code>d3d11_3.h</code> on three main AppVeyor build worker images returns <a href="https://ci.appveyor.com/project/IlyaFinkelshteyn/projecta/build/1.0.1559">those</a> results. Please let us know if this enough information to put things together.</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/451862462018-04-27T23:25:43Z2018-04-27T23:25:43ZBuild failing to include Direct x files<div><p>Not really. Like I mentioned, this project compiles fine on my local machine, so I must have installed something there that is not being installed on AppVeyor, but I have no idea what it is. According to the AppVoyer docs, DX should be installed.</p></div>Rontag:help.appveyor.com,2012-11-13:Comment/451862462018-04-27T23:47:53Z2018-04-27T23:47:53ZBuild failing to include Direct x files<div><ul>
<li>
<p>What do you see in <code>project's properties | Configuration Properties | VC++ Directories | Include Directories</code> (setting described in Stack Overflow post)?</p>
</li>
<li>
<p>What folder <code>d3d11_3.h</code> located on your local machine? You can search it with <code>cd c:\ && dir /s d3d11_3.h</code> command.</p>
</li>
<li>
<p>What <code>where d3d11_3.h</code> command returns on your local machine?</p>
</li>
</ul></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/451862462018-04-28T04:09:38Z2018-04-28T04:09:38ZBuild failing to include Direct x files<div><p>My include path is: $(VC_IncludePath);$(WindowsSDK_IncludePath)</p>
<p>The file can be found at c:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\um</p>
<p>Again, this VS project built by CMake on both machines.</p>
<p>I am also running the build process on AppVoyer via a script:</p>
<p><br>
bin\build_cmake.bat<br>
cd C:\projects\myproject_buildWin<br>
msbuild.exe myproject.vcxproj /t:Build /p:Configuration=Debug</p></div>Rontag:help.appveyor.com,2012-11-13:Comment/451862462018-04-30T16:14:50Z2018-04-30T16:14:50ZBuild failing to include Direct x files<div><p>I went back and rebuilt everything on my local machine and it compiles fine, but still fails on AppVoyer. I'm really at a loss. I am using VS 2015 on both machines.</p></div>Rontag:help.appveyor.com,2012-11-13:Comment/451862462018-04-30T17:28:41Z2018-04-30T17:28:41ZBuild failing to include Direct x files<div><p>Can you make a simplified, public repo that we can fork to reproduce and troubleshoot this error?</p></div>Owen McDonnelltag:help.appveyor.com,2012-11-13:Comment/451862462018-04-30T20:44:11Z2018-04-30T20:44:11ZBuild failing to include Direct x files<div><p>OK, I figured out the problem, and as expected, it was something stupid on my end. I had some old debugging code in that was including the wrong dx .h files. I'm a Mac coder, so my VS skills are basic and I failed on simple searching the project.</p></div>Rontag:help.appveyor.com,2012-11-13:Comment/451862462018-04-30T22:10:36Z2018-04-30T22:10:36ZBuild failing to include Direct x files<div><p>Thanks a lot for the update!</p></div>Ilya Finkelshteyn