Compiler error when building from source
aurolou opened this issue · 3 comments
When I try to build GPUReshape from source, I get a compile error.
Repro steps:
- get a fresh clone from the repository
- run the VisualStudio2019.bat file
- open the gpu-validation.sln in cmake-build-vs2019
- build the solution
Error list:
Error C2039 'next_CreateCommandQueue1': is not a member of 'ID3D12Device8DetourVTable' Layer C:...\GPUReshape\gpu-validation\Source\Backends\DX12\Layer\Source\CommandList.cpp 124
Error LNK1104 cannot open file '........\Lib\MSVC\Debug\Backends.DX12.Layer.lib' Tests (Source\Backends\DX12\Tests) C:...\GPUReshape\gpu-validation\cmake-build-vs2019\Source\Backends\DX12\LINK 1
...
Hi Lou,
I believe this may be an issue regarding the Windows SDK, what version are you on?
That interface is on Build 20348,i likely have to add some version defines for things like these.
ah right. You can also document the minimum required Windows SDK version in the build description :) I tried to run it with Windows SDK version 10.0.19041.0 and it failed. It did work with 10.0.22621.0.