Discussion:
Link problem Unicode wxjpeg
(too old to reply)
Todd Mars
2009-05-22 19:51:17 UTC
Permalink
Is this a unicode problem? I'm having problem with link, trying to
include and use the jpg image handler
Thanks
Todd.

1>wxmsw28ud_core.lib(imagjpeg.obj) : error LNK2019: unresolved
external symbol _jpeg_resync_to_restart referenced in function "void
__cdecl wx_jpeg_io_src(struct jpeg_decompress_struct *,class
wxInputStream &)" (?
wx_jpeg_io_src@@YAXPAUjpeg_decompress_struct@@AAVwxInputStream@@@Z)
1>wxmsw28ud_core.lib(imagjpeg.obj) : error LNK2019: unresolved
external symbol _jpeg_read_scanlines referenced in function "public:
virtual bool __thiscall wxJPEGHandler::LoadFile(class wxImage *,class
wxInputStream &,bool,int)" (?
***@wxJPEGHandler@@UAE_NPAVwxImage@@AAVwxInputStream@@***@Z)
1>wxmsw28ud_core.lib(imagjpeg.obj) : error LNK2019: unresolved
external symbol _jpeg_finish_decompress referenced in function
"public: virtual bool __thiscall wxJPEGHandler::LoadFile(class wxImage
*,class wxInputStream &,bool,int)" (?
***@wxJPEGHandler@@UAE_NPAVwxImage@@AAVwxInputStream@@***@Z)
1>wxmsw28ud_core.lib(imagjpeg.obj) : error LNK2019: unresolved
external symbol _jpeg_start_decompress referenced in function "public:
virtual bool __thiscall wxJPEGHandler::LoadFile(class wxImage *,class
wxInputStream &,bool,int)" (?
***@wxJPEGHandler@@UAE_NPAVwxImage@@AAVwxInputStream@@***@Z)
1>wxmsw28ud_core.lib(imagjpeg.obj) : error LNK2019: unresolved
external symbol _jpeg_read_header referenced in function "public:
virtual bool __thiscall wxJPEGHandler::LoadFile(class wxImage *,class
wxInputStream &,bool,int)" (?
***@wxJPEGHandler@@UAE_NPAVwxImage@@AAVwxInputStream@@***@Z)
1>wxmsw28ud_core.lib(imagjpeg.obj) : error LNK2019: unresolved
external symbol _jpeg_CreateDecompress referenced in function "public:
virtual bool __thiscall wxJPEGHandler::LoadFile(class wxImage *,class
wxInputStream &,bool,int)" (?
***@wxJPEGHandler@@UAE_NPAVwxImage@@AAVwxInputStream@@***@Z)
1>wxmsw28ud_core.lib(imagjpeg.obj) : error LNK2019: unresolved
external symbol _jpeg_destroy_decompress referenced in function
"public: virtual bool __thiscall wxJPEGHandler::LoadFile(class wxImage
*,class wxInputStream &,bool,int)" (?
***@wxJPEGHandler@@UAE_NPAVwxImage@@AAVwxInputStream@@***@Z)
1>wxmsw28ud_core.lib(imagjpeg.obj) : error LNK2019: unresolved
external symbol _jpeg_std_error referenced in function "public:
virtual bool __thiscall wxJPEGHandler::LoadFile(class wxImage *,class
wxInputStream &,bool,int)" (?
***@wxJPEGHandler@@UAE_NPAVwxImage@@AAVwxInputStream@@***@Z)
1>wxmsw28ud_core.lib(imagjpeg.obj) : error LNK2019: unresolved
external symbol _jpeg_finish_compress referenced in function "public:
virtual bool __thiscall wxJPEGHandler::SaveFile(class wxImage *,class
wxOutputStream &,bool)" (?
***@wxJPEGHandler@@UAE_NPAVwxImage@@AAVwxOutputStream@@***@Z)
1>wxmsw28ud_core.lib(imagjpeg.obj) : error LNK2019: unresolved
external symbol _jpeg_write_scanlines referenced in function "public:
virtual bool __thiscall wxJPEGHandler::SaveFile(class wxImage *,class
wxOutputStream &,bool)" (?
***@wxJPEGHandler@@UAE_NPAVwxImage@@AAVwxOutputStream@@***@Z)
1>wxmsw28ud_core.lib(imagjpeg.obj) : error LNK2019: unresolved
external symbol _jpeg_start_compress referenced in function "public:
virtual bool __thiscall wxJPEGHandler::SaveFile(class wxImage *,class
wxOutputStream &,bool)" (?
***@wxJPEGHandler@@UAE_NPAVwxImage@@AAVwxOutputStream@@***@Z)
1>wxmsw28ud_core.lib(imagjpeg.obj) : error LNK2019: unresolved
external symbol _jpeg_set_quality referenced in function "public:
virtual bool __thiscall wxJPEGHandler::SaveFile(class wxImage *,class
wxOutputStream &,bool)" (?
***@wxJPEGHandler@@UAE_NPAVwxImage@@AAVwxOutputStream@@***@Z)
1>wxmsw28ud_core.lib(imagjpeg.obj) : error LNK2019: unresolved
external symbol _jpeg_set_defaults referenced in function "public:
virtual bool __thiscall wxJPEGHandler::SaveFile(class wxImage *,class
wxOutputStream &,bool)" (?
***@wxJPEGHandler@@UAE_NPAVwxImage@@AAVwxOutputStream@@***@Z)
1>wxmsw28ud_core.lib(imagjpeg.obj) : error LNK2019: unresolved
external symbol _jpeg_CreateCompress referenced in function "public:
virtual bool __thiscall wxJPEGHandler::SaveFile(class wxImage *,class
wxOutputStream &,bool)" (?
***@wxJPEGHandler@@UAE_NPAVwxImage@@AAVwxOutputStream@@***@Z)
1>wxmsw28ud_core.lib(imagjpeg.obj) : error LNK2019: unresolved
external symbol _jpeg_destroy_compress referenced in function "public:
virtual bool __thiscall wxJPEGHandler::SaveFile(class wxImage *,class
wxOutputStream &,bool)" (?
***@wxJPEGHandler@@UAE_NPAVwxImage@@AAVwxOutputStream@@***@Z)
1>..\..\Target\Debug\Imacor/AnICMPDCService.exe : fatal error LNK1120:
15 unresolved externals
Chris Brulak
2009-05-22 20:08:43 UTC
Permalink
I'm not seeing any unicode-type errors. More info please:

- OS
- IDE or compiler version
- linker input (like gcc -o ....)

I actually ran into a unicode problem before and you'll end up with missing symbols but only with w_char* in the function args, that type of thing.



----- Original Message ----
From: Todd Mars <***@gmail.com>
To: wx-***@lists.wxwidgets.org
Sent: Friday, May 22, 2009 1:51:17 PM
Subject: Link problem Unicode wxjpeg



Is this a unicode problem? I'm having problem with link, trying to
include and use the jpg image handler
Thanks
Todd.

1>wxmsw28ud_core.lib(imagjpeg.obj) : error LNK2019: unresolved
external symbol _jpeg_resync_to_restart referenced in function "void
__cdecl wx_jpeg_io_src(struct jpeg_decompress_struct *,class
wxInputStream &)" (?
wx_jpeg_io_src@@YAXPAUjpeg_decompress_struct@@AAVwxInputStream@@@Z)
1>wxmsw28ud_core.lib(imagjpeg.obj) : error LNK2019: unresolved
external symbol _jpeg_read_scanlines referenced in function "public:
virtual bool __thiscall wxJPEGHandler::LoadFile(class wxImage *,class
wxInputStream &,bool,int)" (?
***@wxJPEGHandler@@UAE_NPAVwxImage@@AAVwxInputStream@@***@Z)
1>wxmsw28ud_core.lib(imagjpeg.obj) : error LNK2019: unresolved
external symbol _jpeg_finish_decompress referenced in function
"public: virtual bool __thiscall wxJPEGHandler::LoadFile(class wxImage
*,class wxInputStream &,bool,int)" (?
***@wxJPEGHandler@@UAE_NPAVwxImage@@AAVwxInputStream@@***@Z)
1>wxmsw28ud_core.lib(imagjpeg.obj) : error LNK2019: unresolved
external symbol _jpeg_start_decompress referenced in function "public:
virtual bool __thiscall wxJPEGHandler::LoadFile(class wxImage *,class
wxInputStream &,bool,int)" (?
***@wxJPEGHandler@@UAE_NPAVwxImage@@AAVwxInputStream@@***@Z)
1>wxmsw28ud_core.lib(imagjpeg.obj) : error LNK2019: unresolved
external symbol _jpeg_read_header referenced in function "public:
virtual bool __thiscall wxJPEGHandler::LoadFile(class wxImage *,class
wxInputStream &,bool,int)" (?
***@wxJPEGHandler@@UAE_NPAVwxImage@@AAVwxInputStream@@***@Z)
1>wxmsw28ud_core.lib(imagjpeg.obj) : error LNK2019: unresolved
external symbol _jpeg_CreateDecompress referenced in function "public:
virtual bool __thiscall wxJPEGHandler::LoadFile(class wxImage *,class
wxInputStream &,bool,int)" (?
***@wxJPEGHandler@@UAE_NPAVwxImage@@AAVwxInputStream@@***@Z)
1>wxmsw28ud_core.lib(imagjpeg.obj) : error LNK2019: unresolved
external symbol _jpeg_destroy_decompress referenced in function
"public: virtual bool __thiscall wxJPEGHandler::LoadFile(class wxImage
*,class wxInputStream &,bool,int)" (?
***@wxJPEGHandler@@UAE_NPAVwxImage@@AAVwxInputStream@@***@Z)
1>wxmsw28ud_core.lib(imagjpeg.obj) : error LNK2019: unresolved
external symbol _jpeg_std_error referenced in function "public:
virtual bool __thiscall wxJPEGHandler::LoadFile(class wxImage *,class
wxInputStream &,bool,int)" (?
***@wxJPEGHandler@@UAE_NPAVwxImage@@AAVwxInputStream@@***@Z)
1>wxmsw28ud_core.lib(imagjpeg.obj) : error LNK2019: unresolved
external symbol _jpeg_finish_compress referenced in function "public:
virtual bool __thiscall wxJPEGHandler::SaveFile(class wxImage *,class
wxOutputStream &,bool)" (?
***@wxJPEGHandler@@UAE_NPAVwxImage@@AAVwxOutputStream@@***@Z)
1>wxmsw28ud_core.lib(imagjpeg.obj) : error LNK2019: unresolved
external symbol _jpeg_write_scanlines referenced in function "public:
virtual bool __thiscall wxJPEGHandler::SaveFile(class wxImage *,class
wxOutputStream &,bool)" (?
***@wxJPEGHandler@@UAE_NPAVwxImage@@AAVwxOutputStream@@***@Z)
1>wxmsw28ud_core.lib(imagjpeg.obj) : error LNK2019: unresolved
external symbol _jpeg_start_compress referenced in function "public:
virtual bool __thiscall wxJPEGHandler::SaveFile(class wxImage *,class
wxOutputStream &,bool)" (?
***@wxJPEGHandler@@UAE_NPAVwxImage@@AAVwxOutputStream@@***@Z)
1>wxmsw28ud_core.lib(imagjpeg.obj) : error LNK2019: unresolved
external symbol _jpeg_set_quality referenced in function "public:
virtual bool __thiscall wxJPEGHandler::SaveFile(class wxImage *,class
wxOutputStream &,bool)" (?
***@wxJPEGHandler@@UAE_NPAVwxImage@@AAVwxOutputStream@@***@Z)
1>wxmsw28ud_core.lib(imagjpeg.obj) : error LNK2019: unresolved
external symbol _jpeg_set_defaults referenced in function "public:
virtual bool __thiscall wxJPEGHandler::SaveFile(class wxImage *,class
wxOutputStream &,bool)" (?
***@wxJPEGHandler@@UAE_NPAVwxImage@@AAVwxOutputStream@@***@Z)
1>wxmsw28ud_core.lib(imagjpeg.obj) : error LNK2019: unresolved
external symbol _jpeg_CreateCompress referenced in function "public:
virtual bool __thiscall wxJPEGHandler::SaveFile(class wxImage *,class
wxOutputStream &,bool)" (?
***@wxJPEGHandler@@UAE_NPAVwxImage@@AAVwxOutputStream@@***@Z)
1>wxmsw28ud_core.lib(imagjpeg.obj) : error LNK2019: unresolved
external symbol _jpeg_destroy_compress referenced in function "public:
virtual bool __thiscall wxJPEGHandler::SaveFile(class wxImage *,class
wxOutputStream &,bool)" (?
***@wxJPEGHandler@@UAE_NPAVwxImage@@AAVwxOutputStream@@***@Z)
1>..\..\Target\Debug\Imacor/AnICMPDCService.exe : fatal error LNK1120:
15 unresolved externals
Todd Mars
2009-05-22 20:21:24 UTC
Permalink
Whoops,

I just needed to include the library in my link list!

wxjpegud.lib

Thanks
Todd.

Todd Mars
2009-05-22 20:19:16 UTC
Permalink
NO.
(not so far)
I just needed to explicitly list the file wxjpegud.lib in my link
list, in my project.
Yay.
Todd.
no problemo!
Loading...