Adding PNG support to LIGGGHTS, image.cpp: undefined reference
Dear all,
I am trying to add image support to LIGGGHTS. Based on the instructions found in the documentation, I believe I should be able to add the following lines to the Makefile.user file:
LMP_INC=-DLAMMPS_PNG
JPG_INC=-I/opt/pkg/filelib/libpng/1.6.34/gnu/7.2.0/64/opt/include/libpng16
JPG_PATH=-lpng
JPG_LIB=-L/opt/pkg/filelib/libpng/1.6.34/gnu/7.2.0/64/opt/lib
However, when trying to compile LIGGGHTS, I recieve the following error: