GPUOpen-Tools / GPU-Reshape

GPU Reshape (GRS) is an API & vendor agnostic instrumentation framework, with instruction level validation.
Other
384 stars 12 forks source link

Compiler error when building from source #8

Closed aurolou closed 1 year ago

aurolou commented 1 year ago

When I try to build GPUReshape from source, I get a compile error. Repro steps:

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 ...

miguel-petersen commented 1 year ago

Hi Lou,

I believe this may be an issue regarding the Windows SDK, what version are you on?

miguel-petersen commented 1 year ago

That interface is on Build 20348,i likely have to add some version defines for things like these.

aurolou commented 1 year ago

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.