Jump to content


linking errors


  • You cannot reply to this topic
2 replies to this topic

#1 chingching

    Member

  • Members
  • PipPip
  • 38 posts

Posted 20 April 2006 - 05:18 AM

I get these unresolved external symbol...can anyone pls help me see what's going on? A lot of thanks...

Linking...
CJPEGFile.obj : error LNK2001: unresolved external symbol "unsigned char __cdecl jpeg_finish_decompress(struct jpeg_decompress_struct *)" (?jpeg_finish_decompress@@YAEPAUjpeg_decompress_struct@@@Z)
CJPEGFile.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)
CJPEGFile.obj : error LNK2001: unresolved external symbol "unsigned char __cdecl jpeg_start_decompress(struct jpeg_decompress_struct *)" (?jpeg_start_decompress@@YAEPAUjpeg_decompress_struct@@@Z)
CJPEGFile.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)
CJPEGFile.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)
CJPEGFile.obj : error LNK2001: unresolved external symbol "void __cdecl jpeg_CreateDecompress(struct jpeg_decompress_struct *,int,unsigned int)" (?jpeg_CreateDecompress@@YAXPAUjpeg_decompress_struct@@HI@Z)
CJPEGFile.obj : error LNK2001: unresolved external symbol "void __cdecl jpeg_destroy_decompress(struct jpeg_decompress_struct *)" (?jpeg_destroy_decompress@@YAXPAUjpeg_decompress_struct@@@Z)
CJPEGFile.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)
Debug/oglu_collision_detection_and_response.exe : fatal error LNK1120: 8 unresolved externals

#2 mysticman

    Member

  • Members
  • PipPip
  • 95 posts

Posted 20 April 2006 - 07:44 AM

you need the library jpeg...

http://www.programme...at453/14954.htm

http://apodeline.fre...eg/libjpeg.html

#3 chingching

    Member

  • Members
  • PipPip
  • 38 posts

Posted 20 April 2006 - 03:41 PM

ya...thanks you guy....





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users