# An error was encountered while compiling from scratch2

**URL:** <https://discourse.slicer.org/t/an-error-was-encountered-while-compiling-from-scratch2/22223>\
**Category:** Support\
**Created:** [March 1, 2022, 3:16am UTC](https://discourse.slicer.org/t/an-error-was-encountered-while-compiling-from-scratch2/22223 "2022-03-01T03:16:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tesla2678](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/tesla2678/32/9062_2.png) [@Tesla2678](https://discourse.slicer.org/u/Tesla2678)\
**Post date:** [March 1, 2022, 3:16am UTC](https://discourse.slicer.org/t/an-error-was-encountered-while-compiling-from-scratch2/22223/1 "2022-03-01T03:16:27Z")

</div>

Operating system: Win10, Visual Studio 2019.  
Slicer version: Compiling from GIT\_REPOSITORY git://github.com/Slicer/Slicer  
GIT\_TAG: master  
Expected behavior:  
Actual behavior:

| Severity | Code | Description | Project | File | Line | Suppression State |
| --- | --- | --- | --- | --- | --- | --- |
| Error | FTK1011 | could not create the new file tracking log file: E:\D\S4R\python-build\CMakeBuild\libpython\libpython-shared.dir\Release\libpython-shared.tlog\CL.read.1.tlog. The file exists. [E:\D\S4R\python-build\CMakeBuild\libpython\libpython-shared.vcxproj] | python | E:\D\S4R\FileTracker | 1 | |
| Error | MSB8066 | Custom build for ‘E:\D\S4R\CMakeFiles\97c3c836647774d07e0f8365888f6630\python-update.rule;E:\D\S4R\CMakeFiles\97c3c836647774d07e0f8365888f6630\python-patch.rule;E:\D\S4R\CMakeFiles\97c3c836647774d07e0f8365888f6630\python-configure.rule;E:\D\S4R\CMakeFiles\97c3c836647774d07e0f8365888f6630\python-build.rule;E:\D\S4R\CMakeFiles\97c3c836647774d07e0f8365888f6630\python-install.rule;E:\D\S4R\CMakeFiles\97c3c836647774d07e0f8365888f6630\python-configure\_python\_launcher.rule;E:\D\S4R\CMakeFiles\a292924acdc90ab5003f524bcf7a9fa8\python-complete.rule;E:\D\S4R\CMakeFiles\18dd41b82dccc87fa779d30114192df1\python.rule’ exited with code 1. | python | E:\Program Files\Microsoft Visual Studio\2019\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets | 241 | |
| Error | LNK1104 | cannot open file ‘hdf5-shared.dir\Debug\itkhdf5-shared-5.3\_D.ilk’ [E:\D\S4R\ITK-build\Modules\ThirdParty\HDF5\src\itkhdf5\src\hdf5-shared.vcxproj] | ITK | E:\D\S4R\LINK | 1 | |
| Error | MSB8066 | Custom build for ‘E:\D\S4R\CMakeFiles\5192aa6b129195b05a27c64828fbcc8c\ITK-update.rule;E:\D\S4R\CMakeFiles\5192aa6b129195b05a27c64828fbcc8c\ITK-patch.rule;E:\D\S4R\CMakeFiles\5192aa6b129195b05a27c64828fbcc8c\ITK-configure.rule;E:\D\S4R\CMakeFiles\5192aa6b129195b05a27c64828fbcc8c\ITK-build.rule;E:\D\S4R\CMakeFiles\5192aa6b129195b05a27c64828fbcc8c\ITK-generate\_project\_description.rule;E:\D\S4R\CMakeFiles\5192aa6b129195b05a27c64828fbcc8c\ITK-install.rule;E:\D\S4R\CMakeFiles\a292924acdc90ab5003f524bcf7a9fa8\ITK-complete.rule;E:\D\S4R\CMakeFiles\18dd41b82dccc87fa779d30114192df1\ITK.rule’ exited with code 1. | | | | |

| Severity | Code | Description | Project | File | Line | Suppression State |
| --- | --- | --- | --- | --- | --- | --- |
| Error | MSB8066 | Custom build for ‘G:\D\S4R\CMakeFiles\056af00fbcb6f7a6d2862779596164d4\VTK-mkdir.rule;G:\D\S4R\CMakeFiles\056af00fbcb6f7a6d2862779596164d4\VTK-download.rule;G:\D\S4R\CMakeFiles\056af00fbcb6f7a6d2862779596164d4\VTK-update.rule;G:\D\S4R\CMakeFiles\056af00fbcb6f7a6d2862779596164d4\VTK-patch.rule;G:\D\S4R\CMakeFiles\056af00fbcb6f7a6d2862779596164d4\VTK-configure.rule;G:\D\S4R\CMakeFiles\056af00fbcb6f7a6d2862779596164d4\VTK-build.rule;G:\D\S4R\CMakeFiles\056af00fbcb6f7a6d2862779596164d4\VTK-install.rule;G:\D\S4R\CMakeFiles\056af00fbcb6f7a6d2862779596164d4\VTK-create\_egg\_info.rule;G:\D\S4R\CMakeFiles\056af00fbcb6f7a6d2862779596164d4\VTK-generate\_project\_description.rule;G:\D\S4R\CMakeFiles\9a88963b650b8ed4a136076ae8474d88\VTK-complete.rule;G:\D\S4R\CMakeFiles\9a6b592a162e4c963002606657e923f6\VTK.rule’ exited with code 1. | | | | |
