I try to follow the solution to this question:
which lead me to:
I have define cimg_use_png in Project properties > Configuration Properties > C / C++ > Preprocessor > Edit Preprocessor Definitions
But how do I add -lpng to the linker flags ?
I tried to add it to Linker > Command Line like this:
But I got this warning: 1>LINK : warning LNK4044: unrecognized option '/lpng'; ignored