Compiling PV superbuild with cmd VS2017

Hello everyone!

I try to compile PV superbuild master branch from x64 Command prompt for VS2017.
It seems to compile successfully but I cannot find paraview.exe in build directory.

to build it I used:
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release …/paraview-superbuild
Ninja

Should I change something?
Thank you in advance

Hi,

add -DENABLE_qt5=ON

1 Like

Thank you for your help, for some reason Ninja gets stuck after downloading qt5, when I rerun ninja, it starts downloading it again, with my internet connection it is suffering, is there any tag to use downloaded packages instead of re-downloading them?

You can download the qt binaries yourself from qt, install them and then add -DUSE_SYSTEM_qt5:BOOL=ON

1 Like

Hello Michal, Sorry for delay with feedback, it worked, but for some reason I have encountered many problems, didn’t have enough time to solve them fast.

Finally I did it, the solution was:

  1. Downloaded and installed qt 5.9 (https://download.qt.io/official_releases/qt/5.9/5.9.0/qt-opensource-windows-x86-5.9.0.exe)
    During installation selected: “msvc2017 64 bit” and “Sources”
    (I am not sure if I needed Sources, selected it, just in case)
  2. Added environmental variable to path: C:\Qt\Qt5.9.0\5.9\msvc2017_64\bin
  3. cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DENABLE_qt5=ON -DUSE_SYSTEM_qt5=ON …\paraview-superbuild
  4. Ninja

Thank you again for your support!