d3dcoder / d3d12book

Sample code for the book "Introduction to 3D Game Programming with DirectX 12"
1.47k stars 571 forks source link

HR failed error when starting Box demo #12

Open gee4vee opened 7 years ago

gee4vee commented 7 years ago

I get a dialog box as soon as I start the debugger in VS 2017 on latest Win 10 Pro:

HF Failed hr failed in ...\d3d12book-master\common\d3dutil.cpp;line 111; error: The system cannot find the path specified.

Below is the debug output:

'DirectXDemo.exe' (Win32): Loaded 'H:\Dropbox\coding\directx\DirectXDemo\Debug\DirectXDemo.exe'. Symbols loaded. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\kernel32.dll' 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sysfer.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\ProgramData\Symantec\Symantec Endpoint Protection\12.1.7004.6500.105\Data\Definitions\BASHDefs\20170703.001\UMEngx86.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\user32.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\win32u.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32full.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcp_win.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ucrtbase.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\D3DCompiler_47.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dxgi.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcp140d.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\D3D12.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcrt.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcrt.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\msvcrt.dll' 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\combase.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\vcruntime140d.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\bcryptprimitives.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sspicli.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ucrtbased.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cryptbase.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcp110_win.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sechost.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cryptsp.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\imm32.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel.appcore.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\uxtheme.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msctf.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\oleaut32.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dwmapi.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\TextInputFramework.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\CoreMessaging.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\CoreUIComponents.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\SHCore.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntmarta.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\WinTypes.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\advapi32.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\usermgrcli.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\d3d12SDKLayers.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\DXGIDebug.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\DXGIDebug.dll' 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\DXGIDebug.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\DXGIDebug.dll' 'DirectXDemo.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\d3d12SDKLayers.dll' 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ResourcePolicyClient.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\ResourcePolicyClient.dll' 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\DXGIDebug.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_2d81f3535ced17c6\nvldumd.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\version.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\crypt32.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msasn1.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\wintrust.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\imagehlp.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rsaenh.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\bcrypt.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_2d81f3535ced17c6\nvwgf2um.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winmm.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winmmbase.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winmmbase.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winmmbase.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\winmmbase.dll' 'DirectXDemo.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\winmmbase.dll' 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll'. Cannot find or open the PDB file. The thread 0x4168 has exited with code 0 (0x0). 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\shell32.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\windows.storage.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\shlwapi.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\powrprof.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\profapi.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\nvspcap.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ole32.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\setupapi.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\psapi.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winhttp.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\wtsapi32.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\nvapi.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\devobj.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\d3d12SDKLayers.dll'. Cannot find or open the PDB file. 'DirectXDemo.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\d3d12SDKLayers.dll' 'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\d3d12SDKLayers.dll'. Cannot find or open the PDB file. Adapter: NVIDIA TITAN X (Pascal) Adapter: Microsoft Basic Render Driver Output: \.\DISPLAY1 Width = 640 Height = 480 Refresh = 59940/1000 Width = 720 Height = 480 Refresh = 59940/1000 Width = 720 Height = 576 Refresh = 60317/1000 Width = 720 Height = 576 Refresh = 60317/1000 Width = 800 Height = 600 Refresh = 60317/1000 Width = 1024 Height = 768 Refresh = 60004/1000 Width = 1152 Height = 864 Refresh = 59997/1000 Width = 1176 Height = 664 Refresh = 59940/1000 Width = 1176 Height = 664 Refresh = 59940/1000 Width = 1176 Height = 664 Refresh = 60000/1001 Width = 1176 Height = 664 Refresh = 60000/1001 Width = 1280 Height = 720 Refresh = 59940/1000 Width = 1280 Height = 720 Refresh = 60000/1001 Width = 1280 Height = 768 Refresh = 59810/1000 Width = 1280 Height = 768 Refresh = 59810/1000 Width = 1280 Height = 800 Refresh = 59810/1000 Width = 1280 Height = 960 Refresh = 60020/1000 Width = 1280 Height = 960 Refresh = 60020/1000 Width = 1280 Height = 1024 Refresh = 60020/1000 Width = 1360 Height = 768 Refresh = 60000/1000 Width = 1360 Height = 768 Refresh = 60000/1000 Width = 1366 Height = 768 Refresh = 60000/1000 Width = 1366 Height = 768 Refresh = 60000/1000 Width = 1440 Height = 900 Refresh = 60000/1000 Width = 1440 Height = 900 Refresh = 60000/1000 Width = 1600 Height = 900 Refresh = 60000/1000 Width = 1600 Height = 1024 Refresh = 23970/1000 Width = 1600 Height = 1024 Refresh = 23970/1000 Width = 1600 Height = 1024 Refresh = 29970/1000 Width = 1600 Height = 1024 Refresh = 29970/1000 Width = 1600 Height = 1024 Refresh = 59940/1000 Width = 1600 Height = 1024 Refresh = 59940/1000 Width = 1600 Height = 1024 Refresh = 60000/1001 Width = 1600 Height = 1024 Refresh = 60000/1001 Width = 1600 Height = 1200 Refresh = 23980/1000 Width = 1600 Height = 1200 Refresh = 23980/1000 Width = 1600 Height = 1200 Refresh = 25000/1000 Width = 1600 Height = 1200 Refresh = 25000/1000 Width = 1600 Height = 1200 Refresh = 29970/1000 Width = 1600 Height = 1200 Refresh = 29970/1000 Width = 1600 Height = 1200 Refresh = 30000/1001 Width = 1600 Height = 1200 Refresh = 30000/1001 Width = 1600 Height = 1200 Refresh = 50000/1000 Width = 1600 Height = 1200 Refresh = 50000/1000 Width = 1600 Height = 1200 Refresh = 59940/1000 Width = 1600 Height = 1200 Refresh = 59940/1000 Width = 1600 Height = 1200 Refresh = 60000/1001 Width = 1600 Height = 1200 Refresh = 60000/1001 Width = 1680 Height = 1050 Refresh = 23970/1000 Width = 1680 Height = 1050 Refresh = 23970/1000 Width = 1680 Height = 1050 Refresh = 29970/1000 Width = 1680 Height = 1050 Refresh = 29970/1000 Width = 1680 Height = 1050 Refresh = 59940/1000 Width = 1680 Height = 1050 Refresh = 59940/1000 Width = 1680 Height = 1050 Refresh = 60000/1001 Width = 1680 Height = 1050 Refresh = 60000/1001 Width = 1768 Height = 992 Refresh = 23970/1000 Width = 1768 Height = 992 Refresh = 23970/1000 Width = 1768 Height = 992 Refresh = 29970/1000 Width = 1768 Height = 992 Refresh = 29970/1000 Width = 1768 Height = 992 Refresh = 59940/1000 Width = 1768 Height = 992 Refresh = 59940/1000 Width = 1768 Height = 992 Refresh = 60000/1001 Width = 1768 Height = 992 Refresh = 60000/1001 Width = 1920 Height = 1080 Refresh = 23970/1000 Width = 1920 Height = 1080 Refresh = 29970/1000 Width = 1920 Height = 1080 Refresh = 59940/1000 Width = 1920 Height = 1080 Refresh = 60000/1001 Width = 1920 Height = 1200 Refresh = 23980/1000 Width = 1920 Height = 1200 Refresh = 23980/1000 Width = 1920 Height = 1200 Refresh = 25000/1000 Width = 1920 Height = 1200 Refresh = 25000/1000 Width = 1920 Height = 1200 Refresh = 29970/1000 Width = 1920 Height = 1200 Refresh = 29970/1000 Width = 1920 Height = 1200 Refresh = 30000/1001 Width = 1920 Height = 1200 Refresh = 30000/1001 Width = 1920 Height = 1200 Refresh = 50000/1000 Width = 1920 Height = 1200 Refresh = 50000/1000 Width = 1920 Height = 1200 Refresh = 59940/1000 Width = 1920 Height = 1200 Refresh = 59940/1000 Width = 1920 Height = 1200 Refresh = 60000/1001 Width = 1920 Height = 1200 Refresh = 60000/1001 Width = 1920 Height = 1440 Refresh = 23980/1000 Width = 1920 Height = 1440 Refresh = 23980/1000 Width = 1920 Height = 1440 Refresh = 25000/1000 Width = 1920 Height = 1440 Refresh = 25000/1000 Width = 1920 Height = 1440 Refresh = 29970/1000 Width = 1920 Height = 1440 Refresh = 29970/1000 Width = 1920 Height = 1440 Refresh = 30000/1001 Width = 1920 Height = 1440 Refresh = 30000/1001 Width = 1920 Height = 1440 Refresh = 50000/1000 Width = 1920 Height = 1440 Refresh = 50000/1000 Width = 1920 Height = 1440 Refresh = 59940/1000 Width = 1920 Height = 1440 Refresh = 59940/1000 Width = 1920 Height = 1440 Refresh = 60000/1001 Width = 1920 Height = 1440 Refresh = 60000/1001 Width = 2048 Height = 1536 Refresh = 23980/1000 Width = 2048 Height = 1536 Refresh = 23980/1000 Width = 2048 Height = 1536 Refresh = 25000/1000 Width = 2048 Height = 1536 Refresh = 25000/1000 Width = 2048 Height = 1536 Refresh = 29970/1000 Width = 2048 Height = 1536 Refresh = 29970/1000 Width = 2048 Height = 1536 Refresh = 30000/1001 Width = 2048 Height = 1536 Refresh = 30000/1001 Width = 2048 Height = 1536 Refresh = 50000/1000 Width = 2048 Height = 1536 Refresh = 50000/1000 Width = 2048 Height = 1536 Refresh = 59940/1000 Width = 2048 Height = 1536 Refresh = 59940/1000 Width = 2048 Height = 1536 Refresh = 60000/1001 Width = 2048 Height = 1536 Refresh = 60000/1001 Width = 2560 Height = 1440 Refresh = 23980/1000 Width = 2560 Height = 1440 Refresh = 23980/1000 Width = 2560 Height = 1440 Refresh = 25000/1000 Width = 2560 Height = 1440 Refresh = 25000/1000 Width = 2560 Height = 1440 Refresh = 29970/1000 Width = 2560 Height = 1440 Refresh = 29970/1000 Width = 2560 Height = 1440 Refresh = 30000/1001 Width = 2560 Height = 1440 Refresh = 30000/1001 Width = 2560 Height = 1440 Refresh = 50000/1000 Width = 2560 Height = 1440 Refresh = 50000/1000 Width = 2560 Height = 1440 Refresh = 59940/1000 Width = 2560 Height = 1440 Refresh = 59940/1000 Width = 2560 Height = 1440 Refresh = 60000/1001 Width = 2560 Height = 1440 Refresh = 60000/1001 Width = 2560 Height = 1600 Refresh = 23980/1000 Width = 2560 Height = 1600 Refresh = 23980/1000 Width = 2560 Height = 1600 Refresh = 25000/1000 Width = 2560 Height = 1600 Refresh = 25000/1000 Width = 2560 Height = 1600 Refresh = 29970/1000 Width = 2560 Height = 1600 Refresh = 29970/1000 Width = 2560 Height = 1600 Refresh = 30000/1001 Width = 2560 Height = 1600 Refresh = 30000/1001 Width = 2560 Height = 1600 Refresh = 50000/1000 Width = 2560 Height = 1600 Refresh = 50000/1000 Width = 2560 Height = 1600 Refresh = 59940/1000 Width = 2560 Height = 1600 Refresh = 59940/1000 Width = 2560 Height = 1600 Refresh = 60000/1001 Width = 2560 Height = 1600 Refresh = 60000/1001 Width = 3840 Height = 2160 Refresh = 23980/1000 Width = 3840 Height = 2160 Refresh = 25000/1000 Width = 3840 Height = 2160 Refresh = 29970/1000 Width = 3840 Height = 2160 Refresh = 30000/1001 Width = 3840 Height = 2160 Refresh = 50000/1000 Width = 3840 Height = 2160 Refresh = 59940/1000 Width = 3840 Height = 2160 Refresh = 60000/1001 Output: \.\DISPLAY2 Width = 640 Height = 480 Refresh = 50000/1000 Width = 640 Height = 480 Refresh = 50000/1000 Width = 640 Height = 480 Refresh = 59940/1000 Width = 640 Height = 480 Refresh = 59940/1000 Width = 640 Height = 480 Refresh = 60000/1001 Width = 640 Height = 480 Refresh = 60000/1001 Width = 640 Height = 480 Refresh = 99930/1000 Width = 640 Height = 480 Refresh = 99930/1000 Width = 640 Height = 480 Refresh = 119982/1000 Width = 640 Height = 480 Refresh = 119982/1000 Width = 720 Height = 480 Refresh = 50000/1000 Width = 720 Height = 480 Refresh = 50000/1000 Width = 720 Height = 480 Refresh = 59940/1000 Width = 720 Height = 480 Refresh = 59940/1000 Width = 720 Height = 480 Refresh = 60000/1001 Width = 720 Height = 480 Refresh = 60000/1001 Width = 720 Height = 480 Refresh = 99930/1000 Width = 720 Height = 480 Refresh = 99930/1000 Width = 720 Height = 480 Refresh = 119982/1000 Width = 720 Height = 480 Refresh = 119982/1000 Width = 720 Height = 576 Refresh = 50000/1000 Width = 720 Height = 576 Refresh = 50000/1000 Width = 720 Height = 576 Refresh = 59940/1000 Width = 720 Height = 576 Refresh = 59940/1000 Width = 720 Height = 576 Refresh = 60000/1001 Width = 720 Height = 576 Refresh = 60000/1001 Width = 720 Height = 576 Refresh = 99930/1000 Width = 720 Height = 576 Refresh = 99930/1000 Width = 720 Height = 576 Refresh = 119982/1000 Width = 720 Height = 576 Refresh = 119982/1000 Width = 800 Height = 600 Refresh = 50000/1000 Width = 800 Height = 600 Refresh = 50000/1000 Width = 800 Height = 600 Refresh = 59940/1000 Width = 800 Height = 600 Refresh = 59940/1000 Width = 800 Height = 600 Refresh = 60000/1001 Width = 800 Height = 600 Refresh = 60000/1001 Width = 800 Height = 600 Refresh = 99930/1000 Width = 800 Height = 600 Refresh = 99930/1000 Width = 800 Height = 600 Refresh = 119982/1000 Width = 800 Height = 600 Refresh = 119982/1000 Width = 1024 Height = 768 Refresh = 50000/1000 Width = 1024 Height = 768 Refresh = 50000/1000 Width = 1024 Height = 768 Refresh = 59940/1000 Width = 1024 Height = 768 Refresh = 59940/1000 Width = 1024 Height = 768 Refresh = 60000/1001 Width = 1024 Height = 768 Refresh = 60000/1001 Width = 1024 Height = 768 Refresh = 99930/1000 Width = 1024 Height = 768 Refresh = 99930/1000 Width = 1024 Height = 768 Refresh = 119982/1000 Width = 1024 Height = 768 Refresh = 119982/1000 Width = 1152 Height = 864 Refresh = 50000/1000 Width = 1152 Height = 864 Refresh = 50000/1000 Width = 1152 Height = 864 Refresh = 59940/1000 Width = 1152 Height = 864 Refresh = 59940/1000 Width = 1152 Height = 864 Refresh = 60000/1001 Width = 1152 Height = 864 Refresh = 60000/1001 Width = 1152 Height = 864 Refresh = 99930/1000 Width = 1152 Height = 864 Refresh = 99930/1000 Width = 1152 Height = 864 Refresh = 119982/1000 Width = 1152 Height = 864 Refresh = 119982/1000 Width = 1176 Height = 664 Refresh = 50000/1000 Width = 1176 Height = 664 Refresh = 50000/1000 Width = 1176 Height = 664 Refresh = 59940/1000 Width = 1176 Height = 664 Refresh = 59940/1000 Width = 1176 Height = 664 Refresh = 60000/1001 Width = 1176 Height = 664 Refresh = 60000/1001 Width = 1280 Height = 720 Refresh = 50000/1000 Width = 1280 Height = 720 Refresh = 50000/1000 Width = 1280 Height = 720 Refresh = 59940/1000 Width = 1280 Height = 720 Refresh = 59940/1000 Width = 1280 Height = 720 Refresh = 60000/1001 Width = 1280 Height = 720 Refresh = 60000/1001 Width = 1280 Height = 720 Refresh = 99930/1000 Width = 1280 Height = 720 Refresh = 99930/1000 Width = 1280 Height = 720 Refresh = 119982/1000 Width = 1280 Height = 720 Refresh = 119982/1000 Width = 1280 Height = 768 Refresh = 50000/1000 Width = 1280 Height = 768 Refresh = 50000/1000 Width = 1280 Height = 768 Refresh = 59940/1000 Width = 1280 Height = 768 Refresh = 59940/1000 Width = 1280 Height = 768 Refresh = 60000/1001 Width = 1280 Height = 768 Refresh = 60000/1001 Width = 1280 Height = 768 Refresh = 99930/1000 Width = 1280 Height = 768 Refresh = 99930/1000 Width = 1280 Height = 768 Refresh = 119982/1000 Width = 1280 Height = 768 Refresh = 119982/1000 Width = 1280 Height = 800 Refresh = 50000/1000 Width = 1280 Height = 800 Refresh = 50000/1000 Width = 1280 Height = 800 Refresh = 59940/1000 Width = 1280 Height = 800 Refresh = 59940/1000 Width = 1280 Height = 800 Refresh = 60000/1001 Width = 1280 Height = 800 Refresh = 60000/1001 Width = 1280 Height = 800 Refresh = 99930/1000 Width = 1280 Height = 800 Refresh = 99930/1000 Width = 1280 Height = 800 Refresh = 119982/1000 Width = 1280 Height = 800 Refresh = 119982/1000 Width = 1280 Height = 960 Refresh = 50000/1000 Width = 1280 Height = 960 Refresh = 50000/1000 Width = 1280 Height = 960 Refresh = 59940/1000 Width = 1280 Height = 960 Refresh = 59940/1000 Width = 1280 Height = 960 Refresh = 60000/1001 Width = 1280 Height = 960 Refresh = 60000/1001 Width = 1280 Height = 960 Refresh = 99930/1000 Width = 1280 Height = 960 Refresh = 99930/1000 Width = 1280 Height = 960 Refresh = 119982/1000 Width = 1280 Height = 960 Refresh = 119982/1000 Width = 1280 Height = 1024 Refresh = 50000/1000 Width = 1280 Height = 1024 Refresh = 50000/1000 Width = 1280 Height = 1024 Refresh = 59940/1000 Width = 1280 Height = 1024 Refresh = 59940/1000 Width = 1280 Height = 1024 Refresh = 60000/1001 Width = 1280 Height = 1024 Refresh = 60000/1001 Width = 1280 Height = 1024 Refresh = 99930/1000 Width = 1280 Height = 1024 Refresh = 99930/1000 Width = 1280 Height = 1024 Refresh = 119982/1000 Width = 1280 Height = 1024 Refresh = 119982/1000 Width = 1360 Height = 768 Refresh = 50000/1000 Width = 1360 Height = 768 Refresh = 50000/1000 Width = 1360 Height = 768 Refresh = 59940/1000 Width = 1360 Height = 768 Refresh = 59940/1000 Width = 1360 Height = 768 Refresh = 60000/1001 Width = 1360 Height = 768 Refresh = 60000/1001 Width = 1360 Height = 768 Refresh = 99930/1000 Width = 1360 Height = 768 Refresh = 99930/1000 Width = 1360 Height = 768 Refresh = 119982/1000 Width = 1360 Height = 768 Refresh = 119982/1000 Width = 1366 Height = 768 Refresh = 50000/1000 Width = 1366 Height = 768 Refresh = 50000/1000 Width = 1366 Height = 768 Refresh = 59940/1000 Width = 1366 Height = 768 Refresh = 59940/1000 Width = 1366 Height = 768 Refresh = 60000/1001 Width = 1366 Height = 768 Refresh = 60000/1001 Width = 1366 Height = 768 Refresh = 99930/1000 Width = 1366 Height = 768 Refresh = 99930/1000 Width = 1366 Height = 768 Refresh = 119982/1000 Width = 1366 Height = 768 Refresh = 119982/1000 Width = 1440 Height = 900 Refresh = 50000/1000 Width = 1440 Height = 900 Refresh = 50000/1000 Width = 1440 Height = 900 Refresh = 59940/1000 Width = 1440 Height = 900 Refresh = 59940/1000 Width = 1440 Height = 900 Refresh = 60000/1001 Width = 1440 Height = 900 Refresh = 60000/1001 Width = 1440 Height = 900 Refresh = 99930/1000 Width = 1440 Height = 900 Refresh = 99930/1000 Width = 1440 Height = 900 Refresh = 119982/1000 Width = 1440 Height = 900 Refresh = 119982/1000 Width = 1600 Height = 900 Refresh = 50000/1000 Width = 1600 Height = 900 Refresh = 50000/1000 Width = 1600 Height = 900 Refresh = 59940/1000 Width = 1600 Height = 900 Refresh = 59940/1000 Width = 1600 Height = 900 Refresh = 60000/1001 Width = 1600 Height = 900 Refresh = 60000/1001 Width = 1600 Height = 900 Refresh = 99930/1000 Width = 1600 Height = 900 Refresh = 99930/1000 Width = 1600 Height = 900 Refresh = 119982/1000 Width = 1600 Height = 900 Refresh = 119982/1000 Width = 1600 Height = 1024 Refresh = 50000/1000 Width = 1600 Height = 1024 Refresh = 50000/1000 Width = 1600 Height = 1024 Refresh = 59940/1000 Width = 1600 Height = 1024 Refresh = 59940/1000 Width = 1600 Height = 1024 Refresh = 60000/1001 Width = 1600 Height = 1024 Refresh = 60000/1001 Width = 1600 Height = 1024 Refresh = 99930/1000 Width = 1600 Height = 1024 Refresh = 99930/1000 Width = 1600 Height = 1024 Refresh = 119982/1000 Width = 1600 Height = 1024 Refresh = 119982/1000 Width = 1680 Height = 1050 Refresh = 50000/1000 Width = 1680 Height = 1050 Refresh = 50000/1000 Width = 1680 Height = 1050 Refresh = 59940/1000 Width = 1680 Height = 1050 Refresh = 59940/1000 Width = 1680 Height = 1050 Refresh = 60000/1001 Width = 1680 Height = 1050 Refresh = 60000/1001 Width = 1680 Height = 1050 Refresh = 99930/1000 Width = 1680 Height = 1050 Refresh = 99930/1000 Width = 1680 Height = 1050 Refresh = 119982/1000 Width = 1680 Height = 1050 Refresh = 119982/1000 Width = 1768 Height = 992 Refresh = 50000/1000 Width = 1768 Height = 992 Refresh = 50000/1000 Width = 1768 Height = 992 Refresh = 59940/1000 Width = 1768 Height = 992 Refresh = 59940/1000 Width = 1768 Height = 992 Refresh = 60000/1001 Width = 1768 Height = 992 Refresh = 60000/1001 Width = 1768 Height = 992 Refresh = 99930/1000 Width = 1768 Height = 992 Refresh = 99930/1000 Width = 1768 Height = 992 Refresh = 119982/1000 Width = 1768 Height = 992 Refresh = 119982/1000 Width = 1920 Height = 1080 Refresh = 50000/1000 Width = 1920 Height = 1080 Refresh = 59940/1000 Width = 1920 Height = 1080 Refresh = 60000/1001 Width = 1920 Height = 1080 Refresh = 99930/1000 Width = 1920 Height = 1080 Refresh = 119982/1000 [11:10:02:46:602][13484] IGIESW h:\dropbox\coding\directx\directxdemo\debug\directxdemo.exe found in whitelist: NO[11:10:02:46:603][13484] IGIWHW Game h:\dropbox\coding\directx\directxdemo\debug\directxdemo.exe found in whitelist: NO'DirectXDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dcomp.dll'. Cannot find or open the PDB file. Exception thrown at 0x7761B802 in DirectXDemo.exe: Microsoft C++ exception: DxException at memory location 0x00DAEE10. The thread 0x2a04 has exited with code 0 (0x0). 'DirectXDemo.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\winmmbase.dll' 'DirectXDemo.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\winmm.dll' 'DirectXDemo.exe' (Win32): Unloaded 'C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_2d81f3535ced17c6\nvwgf2um.dll' 'DirectXDemo.exe' (Win32): Unloaded 'C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_2d81f3535ced17c6\nvldumd.dll' The thread 0x3864 has exited with code 0 (0x0). The thread 0x5678 has exited with code 0 (0x0). The thread 0x2650 has exited with code 0 (0x0). The thread 0x2dac has exited with code 0 (0x0). The thread 0x4014 has exited with code 0 (0x0). The program '[14836] DirectXDemo.exe' has exited with code 0 (0x0).

ccarlzen commented 6 years ago

I have the same issue, pretty frustrating starting a new book and I can't even load the pre-chapter demo.

Have you found any solution to your problem?

JoeSwindell commented 6 years ago

This is the same issue as https://github.com/d3dcoder/d3d12book/issues/5

yangfengzzz commented 5 years ago

change the directory of shaders as L"../Shaders\color.hlsl" and put shaders folder in the project folders