d3dcompiler.h
is part of the DirectX development kit. You need to have it installed and either on your project path or your tool's path.
The header will be on the include path but you may need to link against a library, too.
You can add it using:
comment(lib, "D3dcompiler.lib")
See this example.
The documentation above says you need D3dcompiler_xx.dll