![]() |
XTP static lib conflicts with libz.lib |
Post Reply
|
| Author | |
jhuckins
Newbie
Joined: 17 September 2007 Location: United States Status: Offline Points: 12 |
Post Options
Thanks(0)
Quote Reply
Topic: XTP static lib conflicts with libz.libPosted: 18 September 2007 at 6:20pm |
|
There is a conflict with ToolkitPro1120vc80DSD.lib and libz.lib
How do I fix this problem?
Regards,
Jeff
1>ToolkitPro1120vc80DSD.lib(deflate.obj) : error LNK2005: _deflateInit2_ already defined in libz.lib(zlib.dll)
1>ToolkitPro1120vc80DSD.lib(deflate.obj) : error LNK2005: _deflate already defined in libz.lib(zlib.dll) 1>ToolkitPro1120vc80DSD.lib(deflate.obj) : error LNK2005: _deflateEnd already defined in libz.lib(zlib.dll) 1>ToolkitPro1120vc80DSD.lib(inflate.obj) : error LNK2005: _inflateInit2_ already defined in libz.lib(zlib.dll) 1>ToolkitPro1120vc80DSD.lib(inflate.obj) : error LNK2005: _inflate already defined in libz.lib(zlib.dll) 1>ToolkitPro1120vc80DSD.lib(inflate.obj) : error LNK2005: _inflateEnd already defined in libz.lib(zlib.dll) |
|
|
Regards,
Jeff |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 19 September 2007 at 4:51am |
|
Hi,
Toolkit already contains zlib. try use it instead additional library.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
jhuckins
Newbie
Joined: 17 September 2007 Location: United States Status: Offline Points: 12 |
Post Options
Thanks(0)
Quote Reply
Posted: 19 September 2007 at 10:32am |
|
Oleg,
I can't use it from XTP because it is called from a C code module, not a C++ code module.
|
|
|
Regards,
Jeff |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 19 September 2007 at 1:48pm |
|
Hi,
ok, try to copy files from our Source\GraphicLibrary\zlib to your zlib folder. If files will be exactly same, think linker will handle it corect. Don't forget rebuild you zlib library after.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |