Hi,
Here is the process step by step I apply for compiling paraview :
I open Visual studio 2017 terminal x86
I start cmake-gui from the terminal
I put Paraview-v5.5.1 sources (downloaded here https://www.paraview.org/download/) path on the first field
I put the directory created for the build on the second field
I click on configure
I choose Visual Studio 15 2017 generator for the project
When the red window appears:
I let default Paraview settings checked:
- Build_shared_libs
- paraview_build_qt_gui
- paraview_enable_catalyst (I dont know what is this for)
- paraview_use_vtkm
- vtk_group_paraviewcore
- vtk_group_paraviewRendering
I put QT_DIR path (QT 5.9 msvc2015)
I click on configure again
just 1 cmake warning :
"
For input:
‘${_qt5_install_prefix}/Qt5@module@/Qt5@module@Config.cmake’
the old evaluation rules produce:
‘C:/QT2/5.9/msvc2015/lib/cmake/Qt5/Qt5Config.cmake’
but the new evaluation rules produce:
‘C:/QT2/5.9/msvc2015/lib/cmake/Qt5@module@/Qt5@module@Config.cmake’
Using the old result for compatibility since the policy is not set.
"
I click on Generate when configuring done
Then I launch paraview generated solution : Paraview.sln
I generate ALL_BUILD on debug win_32 platform
At the end, 388 generation succeed and 33 failed
The error that appears multiple times :
can’t open file '…..\lib\Debug\vtkPVServerManagerRendering-pv5.5.lib
using ninja :
I set path of paraview source + path of build directory
I click on configure
I choose ninja configuration (ninja latest version)
When the red window appears:
I let default Paraview settings checked
I put QT_DIR path (QT 5.9 msvc2015)
I click on configure again
cmake warning
I click on Generate when configuring done
I go to paraview build directory on the terminal
I launch generation with the command: ninja
The generation ends with :
"
ADF_internals.c.obj : error LNK2019: unreasolved external symbol _open64 in the function _vtkcgns_ADFI_open_file
bin\vtkcgns-pv5.5.dll : fatal error LNK1120: 1 non resolved external
Linking CXX shared library bin\vtkInteractionImage-pv5.5.dll
creation of the lib lib\vtkInteractionImage-pv5.5.lib and lib\vtkInteractionImage-pv5.5.exp
creation of the lib lib\vtkInteractionImage-pv5.5.lib and lib\vtkInteractionImage-pv5.5.exp
Linking CXX shared library bin\vtkAcceleratorsVTKm-PV5.5.dll
creation of the lib lib\vtkAcceleratorsVTKm-PV5.5.lib and lib\vtkAcceleratorsVTKm-PV5.5.exp
creation of the lib lib\vtkAcceleratorsVTKm-PV5.5.lib and lib\vtkAcceleratorsVTKm-PV5.5.exp
ninja: build stopped: subcommand failed.
"