I am trying to use the dump custom/vtk command.I used "sudo apt-get install libvtk7-dev" command and I installed the **VTK7**
but when i wanted to compile the LAMMPS (with Makefile.lammps.ubuntu18.04_vtk7) it gives this error :
In file included from ../style_dump.h:9:0,
from ../write_dump.cpp:21:
../dump_vtk.h:32:10: fatal error: vtkSmartPointer.h: No such file or directory
#include <vtkSmartPointer.h>
^~~~~~~~~~~~~~~~~~~
compilation terminated.
I also tried "sudo apt-get install libvtk6-dev" command instead and I installed **VTK6.3** but again one other error occurred (with Makefile.lammps.ubuntu14.04_vtk6) :
1. Makefile.lammps.ubuntu18.04_vtk7 has to be renamed to Makefile.lammps or its content has to be copied to Makefile.lammps. Only Makefile.lammps is read during the linking after compilation.
2. If this does not help, check if the path of the linking arguments in the modified Makefile.lammps are correct, e.g. if the header files of VTK7 are in /usr/include/vtk7.1 ...
It is hard to help, if you do not explain exactly what you did.
As I said, if you installed VTK7, if you have renamed the corresponding Makefile to Makefile.lammps, and if you still have a problem, then check the content of the modified Makefile.lammps.