make auto with VTK support error

Submitted by martin.kozakovic on Fri, 08/18/2017 - 18:51

Dear colleagues,

I need to install LIGGGHTS with VTK support. I compiled VTK by using these instructions

http://www.vtk.org/Wiki/VTK/Configure_and_Build#Download_And_Install_CMake

I hope it was successfully installed. Then I followed these instructions

https://www.cfdem.com/media/DEM/docu/Section_start.html

I made "ln -s vtk-8.1 vtk. VTK is installed in /usr/local/include. When I try to use "make auto", this error will occur

Makefile:538: *** Could not obtain VTK_MAJOR_VERSION. Stop.

make: *** [auto] Error 2

I tried to define the path in a file Makefile.user in /src/MAKE, but then an error is occured as well

Makefile:538: *** Could not obtain VTK_MAJOR_VERSION. Stop.

make: *** [auto] Error 2

I am really helpless now. Did somebody have simillar problem?

arnom's picture

arnom | Mon, 08/21/2017 - 14:42

Hi Martin,

which distribution are you using?

Best,
Arno

DCS team member & LIGGGHTS(R) core developer

martin.kozakovic | Tue, 08/22/2017 - 09:17

Hi Arno,

there is centos-release-6-9.el6.12.3.x86_64

Martin.