[Dcmlib] gdcm CVS Version doesn't compile on Windoz

Jean-Pierre Roux Jean-Pierre.Roux at creatis.insa-lyon.fr
Thu Jan 26 11:06:38 CET 2006


Hi!

I'm old to gdcm, but new to M$ Windows ..
I tried to compile the CVS version of gdcm, and I get the following link 
errors (I goes perfect on Linux)

gdcm.lib(gdcmJpeg2000.obj) : error LNK2019: unresolved external symbol 
__imp__opj_image_destroy referenced in function "bool __cdecl 
gdcm::gdcm_read_JPEG2000_file(void *,char *,unsigned int)" 
(?gdcm_read_JPEG2000_file at gdcm@@YA_NPAXPADI at Z)
gdcm.lib(gdcmJpeg2000.obj) : error LNK2019: unresolved external symbol 
__imp__opj_cio_close referenced in function "bool __cdecl 
gdcm::gdcm_read_JPEG2000_file(void *,char *,unsigned int)" 
(?gdcm_read_JPEG2000_file at gdcm@@YA_NPAXPADI at Z)
gdcm.lib(gdcmJpeg2000.obj) : error LNK2019: unresolved external symbol 
__imp__opj_destroy_decompress referenced in function "bool __cdecl 
gdcm::gdcm_read_JPEG2000_file(void *,char *,unsigned int)" 
(?gdcm_read_JPEG2000_file at gdcm@@YA_NPAXPADI at Z)
gdcm.lib(gdcmJpeg2000.obj) : error LNK2019: unresolved external symbol 
__imp__opj_decode referenced in function "bool __cdecl 
gdcm::gdcm_read_JPEG2000_file(void *,char *,unsigned int)" 
(?gdcm_read_JPEG2000_file at gdcm@@YA_NPAXPADI at Z)
gdcm.lib(gdcmJpeg2000.obj) : error LNK2019: unresolved external symbol 
__imp__opj_cio_open referenced in function "bool __cdecl 
gdcm::gdcm_read_JPEG2000_file(void *,char *,unsigned int)" 
(?gdcm_read_JPEG2000_file at gdcm@@YA_NPAXPADI at Z)
gdcm.lib(gdcmJpeg2000.obj) : error LNK2019: unresolved external symbol 
__imp__opj_setup_decoder referenced in function "bool __cdecl 
gdcm::gdcm_read_JPEG2000_file(void *,char *,unsigned int)" 
(?gdcm_read_JPEG2000_file at gdcm@@YA_NPAXPADI at Z)
gdcm.lib(gdcmJpeg2000.obj) : error LNK2019: unresolved external symbol 
__imp__opj_set_event_mgr referenced in function "bool __cdecl 
gdcm::gdcm_read_JPEG2000_file(void *,char *,unsigned int)" 
(?gdcm_read_JPEG2000_file at gdcm@@YA_NPAXPADI at Z)
gdcm.lib(gdcmJpeg2000.obj) : error LNK2019: unresolved external symbol 
__imp__opj_create_decompress referenced in function "bool __cdecl 
gdcm::gdcm_read_JPEG2000_file(void *,char *,unsigned int)" 
(?gdcm_read_JPEG2000_file at gdcm@@YA_NPAXPADI at Z)
gdcm.lib(gdcmJpeg2000.obj) : error LNK2019: unresolved external symbol 
__imp__opj_set_default_decoder_parameters referenced in function "bool 
__cdecl gdcm::gdcm_read_JPEG2000_file(void *,char *,unsigned int)" 
(?gdcm_read_JPEG2000_file at gdcm@@YA_NPAXPADI at Z)
E:\gdcmbinWindoze\bin\Debug\FindTags.exe : fatal error LNK1120: 9 
unresolved externals

Any idea?
Thx

JP



More information about the Dcmlib mailing list