# MSB8066 error while compiling the paraview 5.12.0

**URL:** https://discourse.paraview.org/t/msb8066-error-while-compiling-the-paraview-5-12-0/13777
**Category:** ParaView Support
**Created:** [January 23, 2024, 12:46pm UTC](https://discourse.paraview.org/t/msb8066-error-while-compiling-the-paraview-5-12-0/13777 "2024-01-23T12:46:52Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![mahb](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/m/c89c15/32.png) [@mahb](https://discourse.paraview.org/u/mahb)
#### Post date: [January 23, 2024, 12:46pm UTC](https://discourse.paraview.org/t/msb8066-error-while-compiling-the-paraview-5-12-0/13777/1 "2024-01-23T12:46:52Z")

</div>

while compiling 5.12.0, the following is my command.

1.`cmake -G"Visual Studio 16 2019" -T host="x64" -A "x64" -DPARAVIEW_USE_PYTHON=ON -DPARAVIEW_USE_MPI=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH='D:\Qt\5.15.2\msvc2019_64\lib\cmake\Qt5' -DPARAVIEW_ENABLE_WEB=ON -DPARAVIEW_BUILD_LEGACY_REMOVE=ON ..\paraview`  
2.`cmake --build ./ -j 2 --config Release`  
3.MSB8066 errors occur

```auto
 Generating Python wrapper sources for vtkWebGLDataSet
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241
,5): error MSB8066: “D:\new\brain-visualization\pvb\CMakeFiles\a728aaf97a240a039fc47f852a75858c\vtkObjectIdMapPython.cx
x.rule;D:\new\brain-visualization\pvb\CMakeFiles\a728aaf97a240a039fc47f852a75858c\vtkRemoteInteractionAdapterPython.cxx
.rule;D:\new\brain-visualization\pvb\CMakeFiles\a728aaf97a240a039fc47f852a75858c\vtkWebApplicationPython.cxx.rule;D:\ne
w\brain-visualization\pvb\CMakeFiles\a728aaf97a240a039fc47f852a75858c\vtkWebInteractionEventPython.cxx.rule;D:\new\brai
n-visualization\pvb\CMakeFiles\a728aaf97a240a039fc47f852a75858c\vtkWebUtilitiesPython.cxx.rule;D:\new\brain-visualizati
on\pvb\CMakeFiles\a728aaf97a240a039fc47f852a75858c\vtkWebCoreModulePython.cxx.rule;D:\new\brain-visualization\pvb\CMake
Files\08eb037f33f89c16c2b5111eb2d5c0e6\vtkWebCorePythonInit.cxx.rule”的自定义生成已退出，代码为 1。 [D:\new\brain-visualization\pvb\v
tkWebCorePython.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241
,5): error MSB8066: “D:\new\brain-visualization\pvb\CMakeFiles\1400951957b9a37ab31e3a06c0167778\vtkWebGLDataSetPython.c
xx.rule;D:\new\brain-visualization\pvb\CMakeFiles\1400951957b9a37ab31e3a06c0167778\vtkWebGLExporterPython.cxx.rule;D:\n
ew\brain-visualization\pvb\CMakeFiles\1400951957b9a37ab31e3a06c0167778\vtkWebGLObjectPython.cxx.rule;D:\new\brain-visua
lization\pvb\CMakeFiles\1400951957b9a37ab31e3a06c0167778\vtkWebGLPolyDataPython.cxx.rule;D:\new\brain-visualization\pvb
\CMakeFiles\1400951957b9a37ab31e3a06c0167778\vtkWebGLWidgetPython.cxx.rule;D:\new\brain-visualization\pvb\CMakeFiles\14
00951957b9a37ab31e3a06c0167778\vtkWebGLExporterModulePython.cxx.rule;D:\new\brain-visualization\pvb\CMakeFiles\c1129b69
5f01b11672fb228db3109a9a\vtkWebGLExporterPythonInit.cxx.rule”的自定义生成已退出，代码为 1。 [D:\new\brain-visualization\pvb\vtkWebGLE
xporterPython.vcxproj]

```

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [January 23, 2024, 1:04pm UTC](https://discourse.paraview.org/t/msb8066-error-while-compiling-the-paraview-5-12-0/13777/2 "2024-01-23T13:04:37Z")

</div>

I do not see any error in that log

---

<div class="post-metadata">

### Author: ![mahb](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/m/c89c15/32.png) [@mahb](https://discourse.paraview.org/u/mahb)
#### Post date: [January 23, 2024, 1:18pm UTC](https://discourse.paraview.org/t/msb8066-error-while-compiling-the-paraview-5-12-0/13777/3 "2024-01-23T13:18:06Z")

</div>

the error code is MSB8066

> [@mahb](#):
>
> ```auto
> error MSB8066: “D:\new\brain-visualization\pvb\CMakeFiles\a728aaf97a240a039fc47f852a75858c\vtkObjectIdMapPython.cx
> x.rule;D:\new\brain-visualization\pvb\CMakeFiles\a728aaf97a240a039fc47f852a75858c\vtkRemoteInteractionAdapterPython.cxx
> .rule;D:\new\brain-visualization\pvb\CMakeFiles\a728aaf97a240a039fc47f852a75858c\vtkWebApplicationPython.cxx.rule;D:\ne
> w\brain-visualization\pvb\CMakeFiles\a728aaf97a240a039fc47f852a75858c\vtkWebInteractionEventPython.cxx.rule;D:\new\brai
> n-visualization\pvb\CMakeFiles\a728aaf97a240a039fc47f852a75858c\vtkWebUtilitiesPython.cxx.rule;D:\new\brain-visualizati
> on\pvb\CMakeFiles\a728aaf97a240a039fc47f852a75858c\vtkWebCoreModulePython.cxx.rule;D:\new\brain-visualization\pvb\CMake
> Files\08eb037f33f89c16c2b5111eb2d5c0e6\vtkWebCorePythonInit.cxx.rule”的自定义生成已退出，代码为 1。 [D:\new\brain-visualization\pvb\v
> tkWebCorePython.vcxproj]
> 
> ```

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [February 7, 2024, 1:51pm UTC](https://discourse.paraview.org/t/msb8066-error-while-compiling-the-paraview-5-12-0/13777/4 "2024-02-07T13:51:59Z")

</div>

> [@mahb](#):
>
> MSB8066 errors occur

This means that the associated custom command failed. Is there any output related to wrapping `vtkWebGLExporter` near here?
