![]() |
error LNK2005: _inflate already defined in duzsll3 |
Post Reply ![]() |
Author | |
IRMark ![]() Groupie ![]() ![]() Joined: 13 July 2006 Status: Offline Points: 30 |
![]() ![]() ![]() ![]() ![]() Posted: 16 January 2008 at 5:11pm |
Hi,
I am getting the following error when trying to compile a project in Visual Studio 2008: 1>ToolkitPro1121vc90SD.lib(inflate.obj) : error LNK2005: _inflate already defined in duzsll32.lib(Inflate.obj) I've done some looking around and from what I can tell it is because both lib files are using the zlib library. What I do not know is how to fix this problem. I do not have access to the duzsll32.lib source code so I cannot recompile the library. duzsll32.lib is used by the "DynaZIP-32 - Data Compression Toolkit for Microsoft Windows" that is used in the project. Does anyone have any thoughts on how to get around this issue? Thanks! |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hmm.
Try add in beginning of Source\GraphicLibrary\zlib\zconf.h
#define Z_PREFIX
it will replace all inflate to z_inflate and can fix issue. Rebuild whole toolkit after.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
IRMark ![]() Groupie ![]() ![]() Joined: 13 July 2006 Status: Offline Points: 30 |
![]() ![]() ![]() ![]() ![]() |
Hi Oleg,
Thanks a lot that worked for me! |
|
![]() |
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 |