Hello everyone
Trying to compile LIGGGHTS with -DLAMMPS_VTK switch in cygwin windows.
But getting following response.
gacy -lvtkCommonDataModel -lstdc++ -o ../lmp_ubuntuVTK6
/usr/lib/gcc/x86_64-pc-cygwin/4.9.2/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lvtkCommonCore
/usr/lib/gcc/x86_64-pc-cygwin/4.9.2/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lvtkIOCore
/usr/lib/gcc/x86_64-pc-cygwin/4.9.2/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lvtkIOXML
/usr/lib/gcc/x86_64-pc-cygwin/4.9.2/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lvtkIOLegacy
/usr/lib/gcc/x86_64-pc-cygwin/4.9.2/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lvtkCommonDataModel
collect2: error: ld returned 1 exit status
Makefile:91: recipe for target '../lmp_ubuntuVTK6' failed
make[1]: *** [../lmp_ubuntuVTK6] Error 1
make[1]: Leaving directory '/cygdrive/c/cygwin64/home/RahulKumar/LIGGGHTS-PUBLIC310/src/Obj_ubuntuVTK6'
Makefile:77: recipe for target 'ubuntuVTK6' failed
make: *** [ubuntuVTK6] Error 2
I think it is because it requires something alternative what we do with "sudo apt-get libvtk5-dev" in ubuntu. But don't know what to do.
Anyone please help!!!
j-kerbl | Mon, 04/13/2015 - 10:25
Hi,
Hi,
you tried to compile the version for vtk6 not 5.8.
ubuntuVTK is for vtk 5.8
Please check if you have the right libraries and if they are in your LD_LIBRARY_PATH.
Cheers
Josef