Hey,
Coming back to the error DirectX gave you, be sure that your GPU card is well placed in the motherboard, there's a chance it isn't (?).
If the error still persists, try for a manual installation of DirectX, you can find it here: https://support.microsoft.com/en-us/kb/179113 below "
Manual installation the latest version of DirectX". Start from the bottom to the top.
After you fix this problem, you will have another. Your PC has only 4gb of RAM, which is below the minimum requirement. Try to upgrade your PC or at least your RAM, go for a 8gb/16gb Vengeance RAM kit with 1866 frequency, not that expensive and it works like a charm 🙂.
Also, as Vapr0lexR said, make sure your graphics card drivers are up to date. You can also try to run the game with compatibility mode with Windows 7 or 8.1 .