First download the FreeImage library, http://freeimage.sourceforge.net/download.html
, the official website download is as follows:
Internal download address:https://download.csdn.net/download/qq_36314864/88140305
After decompression, open FreeImage.2017.sln, if it is vs2019, it can be automatically upgraded, and compile Debug x64.
Introduce FreeImaged.lib into the required solution
Find the location of FreeImage.h and introduce it into the solution