![]() |
Problems building with 10.3.1 |
Post Reply
|
| Author | |
IRMark
Groupie
Joined: 13 July 2006 Status: Offline Points: 30 |
Post Options
Thanks(0)
Quote Reply
Topic: Problems building with 10.3.1Posted: 19 September 2006 at 2:20pm |
|
Hi Everyone,
I've recently updated to version 10.3.1 of the Xtreme ToolkitPro and I am having problems building our project now. I'm getting the following errors:
I'm thinking that this may have to do with the inclusion of the PNG support in 10.3? Has anyone else encountered this? Or does anyone else know what I should do? edit: Whoops I forgot to mention that I have been able to compile without any problems using 10.2 and previous versions! Thanks, Mark. |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 19 September 2006 at 3:19pm |
|
Hello, yes in 10.3/10.3.1 we added png support and seems it conflicted with your ISLibMSD30.lib.
please open project in IDE and remove in solution explorer GraphicLibrary subfolder, comment #define _XTP_INCLUDE_GRAPHICLIBRARY in Common/XTPVersion.h and rebuild library.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
IRMark
Groupie
Joined: 13 July 2006 Status: Offline Points: 30 |
Post Options
Thanks(0)
Quote Reply
Posted: 19 September 2006 at 3:26pm |
|
Hi Oleg, |
|
![]() |
|
ABuenger
Newbie
Joined: 02 February 2006 Status: Offline Points: 1075 |
Post Options
Thanks(0)
Quote Reply
Posted: 19 September 2006 at 4:14pm |
|
Are you linking the XTP statically?
|
|
|
Codejock support
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 September 2006 at 1:06am |
|
Hello,
I think if totally same version of zlib will be used in toolkitpro and ISLibMSD30 libraries, compiller will not complain. If you can modify ISLibMSD30 library try to copy zlib implementation from toolkitpro to your ISLibMSD30 sources.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 September 2006 at 1:09am |
|
And another easy solution -
in GraphicLibrary\zlib\zconf.h in beginning of file add
#define Z_PREFIX
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
IRMark
Groupie
Joined: 13 July 2006 Status: Offline Points: 30 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 September 2006 at 9:55am |
|
Ahh Oleg thanks for the tips, I think that they both will work just fine!
Also, in case you were still wondering we link the Xtreme Toolkit statically. |
|
![]() |
|
esc67
Newbie
Joined: 09 June 2005 Status: Offline Points: 29 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 November 2006 at 12:44am |
This doesn't work because the linker says "deflate_copyright" is defined twice. I have this problem because other libraries I use include "zlib.lib".
Why don't you do this:
#pragma comment(lib, "zlib.lib")
Instead of including the sources explicitely? That would eliminate redundant definitions, and it would ensure that all code uses the same version of the library.
-Erik
|
|
![]() |
|
esc67
Newbie
Joined: 09 June 2005 Status: Offline Points: 29 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 November 2006 at 11:54am |
|
Here's a workaround that worked for me: Comment out the deflate_copyright declaration in deflate.c for *static* builds. Then put the definition back in for *dll* builds.
|
|
![]() |
|
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 |