# Paraview Windows Build Errors

**URL:** https://discourse.paraview.org/t/paraview-windows-build-errors/4650
**Category:** ParaView Support
**Created:** [June 23, 2020, 3:34am UTC](https://discourse.paraview.org/t/paraview-windows-build-errors/4650 "2020-06-23T03:34:52Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jdesman1](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/b3f665/32.png) [@jdesman1](https://discourse.paraview.org/u/jdesman1)
#### Post date: [June 23, 2020, 3:34am UTC](https://discourse.paraview.org/t/paraview-windows-build-errors/4650/1 "2020-06-23T03:34:52Z")

</div>

Hi, I’ve been trying to build Paraview by following the guides [here](https://github.com/Kitware/ParaView/blob/master/Documentation/dev/build.md#complete-compilation-guide) and [here](https://www.paraview.org/Wiki/ParaView:Build_And_Install#Introduction), however, I have run into some issues when attempting both ways. I’ve followed the Windows dependencies, having installed the appropriate versions of CMake, VS2015, ninja-build, the Microsoft MPI files, Python for Windows, and Qt 5.12.3 with the MSVC 2015 component installed, and the appropriate additions to the PATH environment variable.

I believe I have obtained the proper source, having cloned the repository using:

> git clone --recursive [https://gitlab.kitware.com/paraview/paraview.git](https://gitlab.kitware.com/paraview/paraview.git)

I then run the following in VS2015 x64 Native Tools Command Prompt:

> cd C:\pv\pvb  
> cmake -GNinja -DPARAVIEW\_USE\_PYTHON=ON -DPARAVIEW\_USE\_MPI=ON -DVTK\_SMP\_IMPLEMENTATION\_TYPE=OpenMP -DCMAKE\_BUILD\_TYPE=Release …\pv  
> ninja

After a while, I get a long string of syntax errors that I have attached to this post. Does anyone have any suggestions? I’ve tried building with VS2015 but also eventually run into these syntax errors which cause the build to fail.

 ![paraview_build_error](https://discourse.paraview.org/uploads/default/original/2X/d/dc6ffc21627701b1f5afb46ebc8e6dc702c36960.png)

---

<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: [June 23, 2020, 4:32am UTC](https://discourse.paraview.org/t/paraview-windows-build-errors/4650/2 "2020-06-23T04:32:11Z")

</div>

A simple work around is to either set PARAVIEW\_USE\_VTKM to OFF or VTK\_SMP\_IMPLEMENTATION\_TYPE to SERIAL.

---

<div class="post-metadata">

### Author: ![jdesman1](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/b3f665/32.png) [@jdesman1](https://discourse.paraview.org/u/jdesman1)
#### Post date: [June 23, 2020, 11:40am UTC](https://discourse.paraview.org/t/paraview-windows-build-errors/4650/3 "2020-06-23T11:40:34Z")

</div>

Thank you! Using DPARAVIEW\_USE\_VTKM=OFF worked for when building with ninja, but when I try to build with VS2015, I get the errors in the image below. Also, it appears that I can only set VTK\_SMP\_IMPLEMENTATION\_TYPE to OpenMP or SMP. Are these errors also easily resolvable?

 ![build_error2](https://discourse.paraview.org/uploads/default/original/2X/5/5c7db8349c751f0aa69cb268319c20029fcdaa35.png) ![build_error3](https://discourse.paraview.org/uploads/default/original/2X/5/5abba46c07607a2dbed7cf5af4ee2f0aee33304f.png)

---

<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: [June 23, 2020, 1:17pm UTC](https://discourse.paraview.org/t/paraview-windows-build-errors/4650/4 "2020-06-23T13:17:38Z")

</div>

You are building in 32bit but your Qt is in 64bit. Unless specific reasons, you should build 64Bit.
