I opened VC++ in admin mode and ran the following command in VC++ terminal
cmake --build . --config Release --target INSTALL
It worked and installed DCMTK Thanks all for the support