HI Lassoan
When I build slicer follwoing above guide, I get this MSB8066 error too. May you help to check what is wrong?
The log file could be found with following link
It seems that the error is caused by some network connectivity issues:
47>CMake Error at Base/QTCore/Testing/Cxx/CMakeLists.txt:23 (file):
47> file DOWNLOAD HASH mismatch
47>
47> for file: [C:/D/S4R/Slicer-build/Base/QTCore/Testing/Cxx/Resources/19354-linux-amd64-ScriptedLoadableExtensionTemplate-svn19354-2012-02-23.tar.gz]
47> expected hash: [dd619c9bbd8f058f85c124d775fe5fec1883f05ce4c1025c0f245db1ec088b51]
47> actual hash: [e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855]
47> status: [35;"SSL connect error"]
47>
47>
47>
47>CMake Error at Base/QTCore/Testing/Cxx/CMakeLists.txt:23 (file):
47> file DOWNLOAD HASH mismatch
47>
47> for file: [C:/D/S4R/Slicer-build/Base/QTCore/Testing/Cxx/Resources/19615-macosx-amd64-CLIExtensionTemplate-svn19615-2012-03-18.tar.gz]
47> expected hash: [57d76d876cb96bde01d30a16d42316941209c8b6c22ad311d623d918597141c0]
47> actual hash: [e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855]
47> status: [28;"Timeout was reached"]
47>
47>
47>
47>CMake Error at Base/QTCore/Testing/Cxx/CMakeLists.txt:23 (file):
47> file DOWNLOAD HASH mismatch
47>
47> for file: [C:/D/S4R/Slicer-build/Base/QTCore/Testing/Cxx/Resources/19615-macosx-amd64-LoadableExtensionTemplate-svn19615-2012-03-18.tar.gz]
47> expected hash: [3ce4a2f0485c9f5db56fb48727421fbe9ccef213c345175e8defb573ce2113da]
47> actual hash: [e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855]
47> status: [28;"Timeout was reached"]
Maybe your workplace blocks download from github or you have some SSL errors (certificates issue, or using a CMake version that has no SSL support, etc.).
Slicer downloads additional files for testing during the build process. Make sure the CMake can download files from https://github.com/Slicer/SlicerTestingData/releases/download/... during build (for example, from this URL).