不用lib吧,有cpp文件就行了。什么错误?

解决方案 »

  1.   

    能讲的清楚点吗?该怎么加进去。如果显示的话该怎么做?我现在用的是OLELOADPICTURE和RENDER来显示的,如果换用JEPGLIB呢?另外JPEGLIB会有一个说明文件,里面提到两种修改方法,有必要修改吗?
    Fix method #1 - Specific to MSVC 5.0 Dialog Apps     1. Compile the Jpeglib2.lib as-is.     2. In your app, stdafx.h, remove the line:
         #include <afxdisp.h> // MFC OLE automation classes     3. In your main app class InitInstance() remove the line :
         AfxEnableControlContainer();     4. In jpegfile.cpp, be sure not to : 
         #define HAVE_BOOLEANThis might break a whole bunch of OLE things. But, if you're not using 
    OLE, I think this is safe.Fix method #2 - General fix.     1. In the Jpeglib2.lib files, change jmorecfg.h :     from (line 228):
         #ifndef HAVE_BOOLEAN
         typedef int boolean;
         #endif      to:     #ifndef HAVE_BOOLEAN
         typedef char boolean;
         #endif      2. Compile Jpeglib2.lib as usual - ignore the warnings...     3. In your app, in jpegfile.cpp, add     #define HAVE_BOOLEAN      before
         #include "jpeglib.h"
      

  2.   

    加上编译宏XMD_H
    忽略库LIBCMT
      

  3.   

    我一直做图像处理,与JpegLib打交道比较多
    留下Mail给你一个给分结帐是点击管理,输入密码和给谁多少分(注意分数必须等于你这个问题的分值)然后点“给分”