谁有WINDOWS下好用的JPEGLIB2.LIB啊,我从网上下了几个,都有问题,郁闷的不行了

解决方案 »

  1.   

    我现在用的这个,出错信息如下:
    Linking...
    Jpegfile.obj : error LNK2001: unresolved external symbol "unsigned char __cdecl jpeg_finish_decompress(struct jpeg_decompress_struct *)" (?jpeg_finish_decompress@@YAEPAUjpeg_decompress_struct@@@Z)
    Jpegfile.obj : error LNK2001: unresolved external symbol "unsigned int __cdecl jpeg_read_scanlines(struct jpeg_decompress_struct *,unsigned char * *,unsigned int)" (?jpeg_read_scanlines@@YAIPAUjpeg_decompress_struct@@PAPAEI@Z)
    Jpegfile.obj : error LNK2001: unresolved external symbol "unsigned char __cdecl jpeg_start_decompress(struct jpeg_decompress_struct *)" (?jpeg_start_decompress@@YAEPAUjpeg_decompress_struct@@@Z)
    Jpegfile.obj : error LNK2001: unresolved external symbol "int __cdecl jpeg_read_header(struct jpeg_decompress_struct *,unsigned char)" (?jpeg_read_header@@YAHPAUjpeg_decompress_struct@@E@Z)
    Jpegfile.obj : error LNK2001: unresolved external symbol "void __cdecl jpeg_stdio_src(struct jpeg_decompress_struct *,struct _iobuf *)" (?jpeg_stdio_src@@YAXPAUjpeg_decompress_struct@@PAU_iobuf@@@Z)
    Jpegfile.obj : error LNK2001: unresolved external symbol "void __cdecl jpeg_CreateDecompress(struct jpeg_decompress_struct *,int,unsigned int)" (?jpeg_CreateDecompress@@YAXPAUjpeg_decompress_struct@@HI@Z)
    Jpegfile.obj : error LNK2001: unresolved external symbol "void __cdecl jpeg_destroy_decompress(struct jpeg_decompress_struct *)" (?jpeg_destroy_decompress@@YAXPAUjpeg_decompress_struct@@@Z)
    Jpegfile.obj : error LNK2001: unresolved external symbol "struct jpeg_error_mgr * __cdecl jpeg_std_error(struct jpeg_error_mgr *)" (?jpeg_std_error@@YAPAUjpeg_error_mgr@@PAU1@@Z)
    Jpegfile.obj : error LNK2001: unresolved external symbol "void __cdecl jpeg_finish_compress(struct jpeg_compress_struct *)" (?jpeg_finish_compress@@YAXPAUjpeg_compress_struct@@@Z)
    Jpegfile.obj : error LNK2001: unresolved external symbol "unsigned int __cdecl jpeg_write_scanlines(struct jpeg_compress_struct *,unsigned char * *,unsigned int)" (?jpeg_write_scanlines@@YAIPAUjpeg_compress_struct@@PAPAEI@Z)
    Jpegfile.obj : error LNK2001: unresolved external symbol "void __cdecl jpeg_start_compress(struct jpeg_compress_struct *,unsigned char)" (?jpeg_start_compress@@YAXPAUjpeg_compress_struct@@E@Z)
    Jpegfile.obj : error LNK2001: unresolved external symbol "void __cdecl jpeg_set_quality(struct jpeg_compress_struct *,int,unsigned char)" (?jpeg_set_quality@@YAXPAUjpeg_compress_struct@@HE@Z)
    Jpegfile.obj : error LNK2001: unresolved external symbol "void __cdecl jpeg_set_defaults(struct jpeg_compress_struct *)" (?jpeg_set_defaults@@YAXPAUjpeg_compress_struct@@@Z)
    Jpegfile.obj : error LNK2001: unresolved external symbol "void __cdecl jpeg_stdio_dest(struct jpeg_compress_struct *,struct _iobuf *)" (?jpeg_stdio_dest@@YAXPAUjpeg_compress_struct@@PAU_iobuf@@@Z)
    Jpegfile.obj : error LNK2001: unresolved external symbol "void __cdecl jpeg_CreateCompress(struct jpeg_compress_struct *,int,unsigned int)" (?jpeg_CreateCompress@@YAXPAUjpeg_compress_struct@@HI@Z)
    Jpegfile.obj : error LNK2001: unresolved external symbol "void __cdecl jpeg_destroy_compress(struct jpeg_compress_struct *)" (?jpeg_destroy_compress@@YAXPAUjpeg_compress_struct@@@Z)
    output\dlgCaTCH.exe : fatal error LNK1120: 16 unresolved externals
    Error executing link.exe.