用过CxImage的都会的有关问题

用过CxImage的都会的问题!
请问如何关掉CxImage里不需要的图象格式
我在ximacfg.h里改了,但是还是提示需要lib的LNK:2001错误
能帮我看看吗大家谢谢了~:)

#include   "ximage.h "
#pragma   comment(lib, "cximage.lib ")
#pragma   comment(lib, "Jpeg.lib ")
#pragma   comment(lib, "png.lib   ")
#pragma   comment(lib, "zlib.lib   ")


//ximacfg.h
#define   CXIMAGE_SUPPORT_BMP   1
#define   CXIMAGE_SUPPORT_GIF   1
#define   CXIMAGE_SUPPORT_JPG   1
#define   CXIMAGE_SUPPORT_PNG   0
#define   CXIMAGE_SUPPORT_MNG   0
#define   CXIMAGE_SUPPORT_ICO   1
#define   CXIMAGE_SUPPORT_TIF   0
#define   CXIMAGE_SUPPORT_TGA   0
#define   CXIMAGE_SUPPORT_PCX   0
#define   CXIMAGE_SUPPORT_WBMP   0
#define   CXIMAGE_SUPPORT_WMF   0
#define   CXIMAGE_SUPPORT_J2K   0 //   Beta,   use   JP2
#define   CXIMAGE_SUPPORT_JBG   0 //   GPL 'd   see   ../jbig/copying.txt   &   ../jbig/patents.htm

#define   CXIMAGE_SUPPORT_JP2   1
#define   CXIMAGE_SUPPORT_JPC   0
#define   CXIMAGE_SUPPORT_PGX   0
#define   CXIMAGE_SUPPORT_PNM   0
#define   CXIMAGE_SUPPORT_RAS   0

------解决方案--------------------
编绎的时候选择..
------解决方案--------------------
好像是编译选项问题吧。
你的库的编译选项和EXE的选项设置一样不?主要看Code Generation一栏中是否一样。