Error while compiling godot for d3d12 with scons

Godot Version



I followed the step-by-step guide to compile Godot with DirectX from this documentation:
When compiling the godot source code, it goes to the last step which returns the following error:
Criando biblioteca bin\ e objeto bin\ : error LNK2019: símbolo externo não resolvido, CLSID_D3D12DeviceFactory, referenciado na função “private: void __cdecl D3D12Context::_init_device_factory(void)” (?_init_device_factory@D3D12Context@@AEAAXXZ)
bin\ : fatal error LNK1120: 1 externo não resolvidos
scons: *** [bin\] Error 1120
scons: building terminated because of errors.

I don’t know how I can solve this

1 Like

When 4.3-dev1 released, it worked for me. I updated to the latest master earlier and get the same error. My guess is that this commit changed something related to CLSID_D3D12DeviceFactory, as this is mentioned in the error message. I would also like to know a solution.

1 Like

I then believe that they will correct it, or mention some change in the documentation, if it is a real change.