Problem in installing LIGGGHTS in CentOS

Submitted by Rahul Kumar on Tue, 04/06/2021 - 08:16

Hi everyone

I am trying to install LIGGGHTS in Centos but I am unable to compile it.
------------------------ERROR--------------------
Makefile:815: *** 'Could not obtain VTK_MAJOR_VERSION. As AUTOINSTALL_VTK is not set to "ON" we cannot continue'. Stop.
make[1]: Leaving directory `/home/software/LIGGGHTS/LIGGGHTS-PUBLIC/src/Obj_auto'
make: *** [auto] Error 2
--------------------------------------------------------

I tried to install VTK manually by following steps but it did NOT work

------------------------
git clone https://gitlab.kitware.com/vtk/vtk.git VTK
mkdir VTK-build
cd VTK-build
ccmake /path/to/VTK
-----------------------

Any suggestion to compile LIGGGHTS in CentOS system