collision project can not work on win10 with Visual Studio 2022
MingGuys opened this issue · 1 comments
Can not compile collision sample.I got this error:
LNK2001 unresolved external symbol "private: static class DirectX::SharedResourcePool<struct ID3D11Device *,class DirectX::EffectBase::DeviceResources> DirectX::EffectBase::deviceResourcesPool" (?deviceResourcesPool@?$EffectBase@UBasicEffectTraits@@@DirectX@@0V?$SharedResourcePool@PEAUID3D11Device@@VDeviceResources@?$EffectBase@UBasicEffectTraits@@@DirectX@@$$V@2@A)
I tried include 'd3compiler.lib' location to "C:\Program Files (x86)\Windows Kits\10\Lib\10.0.19041.0\um\x64"
and "d3dcompiler_47.dll" to "C:\Program Files (x86)\Windows Kits\10\Redist\D3D\x64"
both still can not compile!
OS:windows 10
SDK:10.0.19041.0
Visual Studio 2022 :17.0.5
This indicates you are not building the full solution, just the Collision.vcxproj. You are missing the DirectXTK library components.