# About installing VTK in Windows

**URL:** https://discourse.vtk.org/t/about-installing-vtk-in-windows/9554
**Category:** Support
**Created:** [October 10, 2022, 3:24am UTC](https://discourse.vtk.org/t/about-installing-vtk-in-windows/9554 "2022-10-10T03:24:13Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![vromero59](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/v/b5a626/32.png) [@vromero59](https://discourse.vtk.org/u/vromero59)
#### Post date: [October 10, 2022, 3:24am UTC](https://discourse.vtk.org/t/about-installing-vtk-in-windows/9554/1 "2022-10-10T03:24:13Z")

</div>

I am using Visual Studio 2019 to compile VTK. When I compile INSTALL, I got the messake MSB3073.  
How I can correct this error?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.vtk.org/user_avatar/discourse.vtk.org/mwestphal/32/19_2.png) [@mwestphal](https://discourse.vtk.org/u/mwestphal)
#### Post date: [October 10, 2022, 3:28am UTC](https://discourse.vtk.org/t/about-installing-vtk-in-windows/9554/2 "2022-10-10T03:28:20Z")

</div>

> [@vromero59](#):
>
> MSB3073

Hi @vromero59

Please include the full error.

Best,

---

<div class="post-metadata">

### Author: ![vromero59](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/v/b5a626/32.png) [@vromero59](https://discourse.vtk.org/u/vromero59)
#### Post date: [October 10, 2022, 11:56pm UTC](https://discourse.vtk.org/t/about-installing-vtk-in-windows/9554/3 "2022-10-10T23:56:24Z")

</div>

The complete message is as follows:

```auto
266>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: El comando "setlocal
266>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: "C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Debug -P cmake_install.cmake
266>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
266>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: :cmEnd
266>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
266>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: :cmErrorLevel
266>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: exit /b %1
266>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: :cmDone
266>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd
266>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: :VCEnd" salió con el código 1.
266>Compilación del proyecto "INSTALL.vcxproj" terminada -- ERROR.
========== Recompilar todo: 265 correctos, 1 incorrectos, 0 omitidos ==========

```

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)
#### Post date: [October 17, 2022, 7:34pm UTC](https://discourse.vtk.org/t/about-installing-vtk-in-windows/9554/4 "2022-10-17T19:34:47Z")

</div>

There should be more messages than that. This is just MSBuild reporting the command that failed. The output of what actually failed should be around as well.
