可不用编译,直接使用 添加头文件 #include "stdafx.h" #include "./imp_File/ximage.h" #pragma comment(lib,"./imp_File/cximage.lib") #pragma comment(lib,"./imp_File/Jpeg.lib") #pragma comment(lib,"./imp_File/png.lib ") #pragma comment(lib,"./imp_File/zlib.lib ") #pragma comment(lib,"./imp_File/tiff.lib ") #pragma comment(lib,"./imp_File/jasper.lib") #pragma comment(lib,"./imp_File/libdcr.lib") #pragma comment(lib,"./imp_File/mng.lib") #pragma comment(lib,"./imp_File/jbig.lib")