error LNK2019: 无法解析的外部符号 __imp__SetDIBitsToDevice@48

 error LNK2019: 无法解析的外部符号 __imp__SetDIBitsToDevice@48,该符号在函数 "public: struct cimg_library::CImgDisplay & __thiscall cimg_library::CImgDisplay::resize(int,int,bool,bool)" ( ?resize@CImgDisplay@cimg_library@@QAEAAU12@HH_N0@Z) 中被引用
等时

需添加

user32.lib;Gdi32.lib;

你可能感兴趣的:(struct,user,library)