[CIG-SEISMO] mesh2vtu.pl problem,for help,thanks!!!
Peter Danecek
Peter.Danecek at bo.ingv.it
Mon Nov 19 02:35:46 PST 2012
Hi,
You probably need to edit the Makefile to point to the right location
of your VTK include files and libraries ...
Check out the -I (include/header files .h) and -L for the libraries,
and modify the paths accordingly.
Good luck!
~petr
On 18 Nov 2012, at 15:33, 赵芳 wrote:
> hello all,
> it's problem about mesh2vtu.pl .as the readme,the VTK ,paraview,is
> install,then make,the error is following:
> [root at tutu1 mesh2vtu]# make
> g++ -O3 -I/opt/VTK-build/include -I/opt/VTK-build/include/vtk -Wno-
> deprecated -c mesh2vtu.cxx -o mesh2vtu.o
> mesh2vtu.cxx:39:31: error: vtk/vtkFloatArray.h: No such file or
> directory
> mesh2vtu.cxx:40:27: error: vtk/vtkPoints.h: No such file or directory
> mesh2vtu.cxx:41:30: error: vtk/vtkPointData.h: No such file or
> directory
> mesh2vtu.cxx:42:37: error: vtk/vtkUnstructuredGrid.h: No such file
> or directory
> mesh2vtu.cxx:43:46: error: vtk/vtkXMLUnstructuredGridWriter.h: No
> such file or directory
> mesh2vtu.cxx:44:53: error: vtk/
> vtkUnstructuredGridToPolyDataFilter.h: No such file or directory
> mesh2vtu.cxx:45:38: error: vtk/vtkXMLPolyDataWriter.h: No such file
> or directory
> mesh2vtu.cxx:47:31: error: vtk/vtkDelaunay3D.h: No such file or
> directory
> mesh2vtu.cxx:48:30: error: vtk/vtkCellArray.h: No such file or
> directory
> mesh2vtu.cxx:49:29: error: vtk/vtkPointSet.h: No such file or
> directory
> mesh2vtu.cxx:50:31: error: vtk/vtkHexahedron.h: No such file or
> directory
> mesh2vtu.cxx: In function ‘int main(int, char**)’:
> mesh2vtu.cxx:81: error: ‘vtkPoints’ was not declared in this scope
> mesh2vtu.cxx:81: error: ‘newPts’ was not declared in this scope
> mesh2vtu.cxx:81: error: ‘vtkPoints’ is not a class or namespace
> mesh2vtu.cxx:82: error: ‘vtkFloatArray’ was not declared in this
> scope
> mesh2vtu.cxx:82: error: ‘newScalars’ was not declared in this
> scope
> mesh2vtu.cxx:82: error: ‘vtkFloatArray’ is not a class or
> namespace
> mesh2vtu.cxx:94: error: ‘vtkCellArray’ was not declared in this
> scope
> mesh2vtu.cxx:94: error: ‘cells’ was not declared in this scope
> mesh2vtu.cxx:94: error: ‘vtkCellArray’ is not a class or namespace
> mesh2vtu.cxx:102: error: ‘vtkHexahedron’ was not declared in this
> scope
> mesh2vtu.cxx:102: error: ‘hex’ was not declared in this scope
> mesh2vtu.cxx:102: error: ‘vtkHexahedron’ is not a class or
> namespace
> mesh2vtu.cxx:118: error: ‘vtkUnstructuredGrid’ was not declared
> in this scope
> mesh2vtu.cxx:118: error: ‘dataSet’ was not declared in this scope
> mesh2vtu.cxx:118: error: ‘vtkUnstructuredGrid’ is not a class or
> namespace
> mesh2vtu.cxx:129: error: ‘vtkXMLUnstructuredGridWriter’ was not
> declared in this scope
> mesh2vtu.cxx:129: error: ‘writer’ was not declared in this scope
> mesh2vtu.cxx:129: error: ‘vtkXMLUnstructuredGridWriter’ is not a
> class or namespace
> make: *** [mesh2vtu.o] Error 1
> how to compile the makefile ?
> thank you very much!
>
> rebecca
> _______________________________________________
> CIG-SEISMO mailing list
> CIG-SEISMO at geodynamics.org
> http://geodynamics.org/cgi-bin/mailman/listinfo/cig-seismo
More information about the CIG-SEISMO
mailing list