Latest SAMBuild for the version 3.0 cycle can be found in this post.
The package includes the latest external DMD dlls if there has been a recent update. Or else find the external DMD dlls with the beta thread for the official VPinMAME build here:
http://www.vpforums.org/index.php?showtopic=27063&page=1
OR
at lucky1's GitHub repository for Pin2DMD here:
https://github.com/lucky01/PIN2DMD/tree/master/integration/pinmame
Copy the files into your VPM direc