rate up
1
rate down
Trying to complete a build
After a good night's sleep, I realized that hundreds of errors most likely means the environment is not set up right, so I went through tutorial 01 again, and downloaded a new copy of Windows SDK, which cleared up most of the problems. I'm left only with 1 build error; 2 from intellisense. Error LNK1104 cannot open file 'd3d12.lib' Line 1 LINK constexpr function return is non-constant Line 268 DirectXMath.h constexpr function return is non-constant Line 269 DirectXMath.h Unfortunately, I've no idea why the file cannot be opened. I went and found the file in Windows Explorer, and opened it without issue in a hex editor. VS2015 Community Library Directories: C:Program Files (x86)Windows Kits10Lib10.0.14393.0umx64 ... C:Program Files (x86)Windows Kits10Lib10.0.14393.0umx64d3d12.lib (opens in hex editor) Any assistance would be appreciated. TIA!
Comments
Try these: Include Directories: $(IncludePath);$(DXSDK_DIR)Include Include Library Directories: $(LibraryPath);$(DXSDK_DIR)Libx86. It works for me, maybe it will work for you also
on Sep 19 `16
Kavarna
also just to make sure, you are on windows 10 right? The DX12 SDK is not compatible with any version of windows before windows 10
on Sep 20 `16
iedoc
rate up
1
rate down
Finally compiled after a re-install of the Windows SDK. Thanks.
Comments
Thanks for getting back with the fix!
on Sep 20 `16
iedoc
Sign in to answer!