title: How to add linker flags in Visual C++ 2010?
body: <p>I try to follow the solution to this question:</p>
  
  <p><a href="https://stackoverflow.com/questions/6254447/using-phash-from-net">Using pHash from .NET</a></p>
  
  <p>which lead me to:</p>
  
  <p><a href="https://stackoverflow.com/questions/4001816/loading-pngs-with-cimg">Loading PNGs with CImg</a></p>
  
  <p>I have define cimg_use_png in Project properties > Configuration Properties > C / C++ > Preprocessor > Edit Preprocessor Definitions</p>
  
  <p><img src="https://i.stack.imgur.com/uJ2yu.png" alt="enter image description here"></p>
  
  <p>But how do I add -lpng to the linker flags ?</p>
  
  <p>I tried to add it to Linker > Command Line like this:
  <img src="https://i.stack.imgur.com/T6rrf.jpg" alt="enter image description here"></p>
  
  <p>But I got this warning: 
  1>LINK : warning LNK4044: unrecognized option '/lpng'; ignored</p>