How to build TDI client?

When I build my TDI client, the build told me an error: it can’t link
TdiRegisterPnPHandlers.

Who can tell me how to build this TDI client driver?