PVReader in the OpenFOAM5.x cannot make with Paraview 5.4.0

Submitted by Ruoyu Chen on Sun, 09/02/2018 - 02:47

Hello everyone:

when I want to compile PVReader with Paraview, I meet a problem. I don't know why? Can anybody help me?

/OpenFOAM/OpenFOAM-5.x/applications/utilities/postProcessing/graphics/PVReaders$ ./Allwmake
Allwmake applications/utilities/postProcessing/graphics/PVReaders
wmake vtkPVblockMesh
wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file vtkPVblockMeshUtils.C
could not open file vtkMultiBlockDataSetAlgorithm.h for source file vtkPVblockMeshUtils.C due to No such file or directory
could not open file vtkDataArraySelection.h for source file vtkPVblockMeshUtils.C due to No such file or directory
could not open file vtkDataSet.h for source file vtkPVblockMeshUtils.C due to No such file or directory
could not open file vtkMultiBlockDataSet.h for source file vtkPVblockMeshUtils.C due to No such file or directory
could not open file vtkInformation.h for source file vtkPVblockMeshUtils.C due to No such file or directory
Making dependency list for source file vtkPVblockMeshConvert.C
could not open file vtkMultiBlockDataSetAlgorithm.h for source file vtkPVblockMeshConvert.C due to No such file or directory
could not open file vtkPoints.h for source file vtkPVblockMeshConvert.C due to No such file or directory
could not open file vtkCellArray.h for source file vtkPVblockMeshConvert.C due to No such file or directory
could not open file vtkDataArraySelection.h for source file vtkPVblockMeshConvert.C due to No such file or directory
could not open file vtkMultiBlockDataSet.h for source file vtkPVblockMeshConvert.C due to No such file or directory
could not open file vtkPolyData.h for source file vtkPVblockMeshConvert.C due to No such file or directory
could not open file vtkUnstructuredGrid.h for source file vtkPVblockMeshConvert.C due to No such file or directory
Making dependency list for source file vtkPVblockMesh.C
could not open file vtkMultiBlockDataSetAlgorithm.h for source file vtkPVblockMesh.C due to No such file or directory
could not open file vtkDataArraySelection.h for source file vtkPVblockMesh.C due to No such file or directory
could not open file vtkMultiBlockDataSet.h for source file vtkPVblockMesh.C due to No such file or directory
could not open file vtkRenderer.h for source file vtkPVblockMesh.C due to No such file or directory
could not open file vtkTextActor.h for source file vtkPVblockMesh.C due to No such file or directory
could not open file vtkTextProperty.h for source file vtkPVblockMesh.C due to No such file or directory
g++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -I/home/cry/OpenFOAM/OpenFOAM-5.x/src/meshTools/lnInclude -I/home/cry/OpenFOAM/OpenFOAM-5.x/src/fileFormats/lnInclude -I/home/cry/OpenFOAM/OpenFOAM-5.x/src/mesh/blockMesh/lnInclude -I/home/cry/OpenFOAM/ThirdParty-5.x/platforms/linux64Gcc/ParaView-5.4.0/include/paraview-5.4 -I/home/cry/OpenFOAM/ThirdParty-5.x/platforms/linux64Gcc/ParaView-5.4.0/include/paraview-5.4/vtkkwiml -I../PVblockMeshReader -IlnInclude -I. -I/home/cry/OpenFOAM/OpenFOAM-5.x/src/OpenFOAM/lnInclude -I/home/cry/OpenFOAM/OpenFOAM-5.x/src/OSspecific/POSIX/lnInclude -fPIC -c vtkPVblockMesh.C -o /home/cry/OpenFOAM/OpenFOAM-5.x/platforms/linux64GccDPInt32Opt/applications/utilities/postProcessing/graphics/PVReaders/vtkPVblockMesh/vtkPVblockMesh.o
In file included from vtkPVblockMesh.C:27:0:
../PVblockMeshReader/vtkPVblockMeshReader.h:42:10: fatal error: vtkMultiBlockDataSetAlgorithm.h: No such file or directory
#include "vtkMultiBlockDataSetAlgorithm.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
/home/cry/OpenFOAM/OpenFOAM-5.x/wmake/rules/General/transform:25: recipe for target '/home/cry/OpenFOAM/OpenFOAM-5.x/platforms/linux64GccDPInt32Opt/applications/utilities/postProcessing/graphics/PVReaders/vtkPVblockMesh/vtkPVblockMesh.o' failed
make: *** [/home/cry/OpenFOAM/OpenFOAM-5.x/platforms/linux64GccDPInt32Opt/applications/utilities/postProcessing/graphics/PVReaders/vtkPVblockMesh/vtkPVblockMesh.o] Error 1

richti83's picture

richti83 | Sun, 09/02/2018 - 20:12

Seems as wmake can not find the ParaView source files. Did you extract and build PV 5.4.1 in thirdparty dir ?
Maybe you should ask this in the OF forum as it is not directly related to liggghts.

I'm not an associate of DCS GmbH and not a core developer of LIGGGHTS®
ResearchGate | Contact