Hello Everyone,
I am trying to re-compile LIGGGHTS-PUBLIC after applying some modifications to cohesion_model_sjkr equation but I am getting following error:
make auto
Creating list of contact models completed.
make[1]: Entering directory '/home/123456/LIGGGHTS-PUBLIC/src/Obj_auto'
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/123456/LIGGGHTS-PUBLIC/src/Obj_auto'
Makefile:106: recipe for target 'auto' failed
make: *** [auto] Error 2
I saw few comments related to this error on forum but still couldn't able to debug it. I am new to this interface so could anyone please help me out with debugging this error.
Thanks&Regards,
Abdul.
mschramm | Wed, 07/17/2019 - 08:04
Module
Hello,
The error states that the program cannot find your installed vtk program.
Was this the case when you first installed liggghts?
amohammad42 | Wed, 07/17/2019 - 14:41
RE-MODULE
Hi,
No. This is the first time it happened. When I first installed liggghts I just followed the liggghts-public documentation and installed it. I don't know with this process do we install vtk program or not? In Makefile.user the USE_VTK is set to "ON" which says that, "allows the use of VTK output that can be read directly with paraview".
amohammad42 | Thu, 07/18/2019 - 15:52
RE-INSTALL LIGGGHTS AND IT WORKED
Well I couldn't able to figure it out the problem (error) what was wrong, so I re-installed the liggghts and now it works properly. I can change the models and re-compile it again.