Unresolved external symbols in libPNG

I am trying to use the libPNG to convert bmp files to png files. However, I am encountering “unresolved external symbol” errors as shown in the image I linked. I have included the libPNG in my cpp file:

#include <libPNG/libPNG-1.5.27/png.h>

as well as added “UElibPNG” to the DependencyModuleNames in my Build.cs file. There’s probably something simple that I’m missing, but I’ve scoured Google for hours and tried a bunch of solutions to no effect