<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : LNK2005 errors</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : LNK2005 errors]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 21 Apr 2026 21:42:14 +0000</pubDate>
  <lastBuildDate>Mon, 06 Jul 2009 01:21:26 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=14675</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[LNK2005 errors : Hi,  Think most easy way wasreplace...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14675&amp;PID=50687&amp;title=lnk2005-errors#50687</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 14675<br /><strong>Posted:</strong> 06 July 2009 at 1:21am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Think most easy way was&nbsp;replace all png files from FreeImage to Toolkit to be sure they all same.</DIV>]]>
   </description>
   <pubDate>Mon, 06 Jul 2009 01:21:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14675&amp;PID=50687&amp;title=lnk2005-errors#50687</guid>
  </item> 
  <item>
   <title><![CDATA[LNK2005 errors : Remove from FreeImage = program...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14675&amp;PID=50600&amp;title=lnk2005-errors#50600</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=203">Ark42</a><br /><strong>Subject:</strong> 14675<br /><strong>Posted:</strong> 02 July 2009 at 1:03pm<br /><br />Remove from FreeImage = program crash. I removed the png/zlib stuff from XTP and my app appears to work now. FreeImage has the newer of the libpngs anyway. I wasn't sure if I'd break some Skin or other stuff in XTP by making it link to FreeImage's copy of libpng though.<br><br>FreeImage compiles under Linux and OS X as well as Windows, and has a very simply C (not C++) interface. I like the easy syntax of just calling a single function to load a file, and getting easy access to raw 32bit RGBA buffers. I've never used CxImage, but I looked into ImageMagick and IM was very complex and full of stuff I didn't need. FI can also load from memory very easily. I don't know if CxImage was around when I started using and contributing to FreeImage, but at quick glance, it looks more similar to ImageMagick to me - full of complex cruft that I don't need.<br><br>CImage requires GDIPlus, which pretty much throws it out the window as far as portability goes, and I think that means you can't even assume your app would work under Win2000 either. Most of my apps have a "core" that compiles and runs under OS X, with only a thin layer of GUI wrapper on top that has to differ between OS X and Windows builds.<br><br>]]>
   </description>
   <pubDate>Thu, 02 Jul 2009 13:03:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14675&amp;PID=50600&amp;title=lnk2005-errors#50600</guid>
  </item> 
  <item>
   <title><![CDATA[LNK2005 errors : Btw, how good is FreeImage compared...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14675&amp;PID=50597&amp;title=lnk2005-errors#50597</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 14675<br /><strong>Posted:</strong> 02 July 2009 at 12:52pm<br /><br />Btw, how good is FreeImage compared to other libraries, such as <a href="http://www.xdp.it/cximage.htm" target="_blank">CxImage</A>&nbsp;and MFC CImage?]]>
   </description>
   <pubDate>Thu, 02 Jul 2009 12:52:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14675&amp;PID=50597&amp;title=lnk2005-errors#50597</guid>
  </item> 
  <item>
   <title><![CDATA[LNK2005 errors : You&amp;#039;re obviously using FreeImage,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14675&amp;PID=50596&amp;title=lnk2005-errors#50596</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 14675<br /><strong>Posted:</strong> 02 July 2009 at 12:51pm<br /><br />You're obviously using FreeImage, which links to png.lib - so does XTP. There are a couple of solutions:<DIV>&nbsp;</DIV><DIV>1) Remove png-sources from XTP and recompile.</DIV><DIV>2) Remove png-sources from both XTP and FreeImage, and recompile <strong>png.dll</strong> for dynamic linking.</DIV><DIV>&nbsp;</DIV><DIV>I believe you can tell the compiler which lib to use, but I don't remember the switch.</DIV>]]>
   </description>
   <pubDate>Thu, 02 Jul 2009 12:51:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14675&amp;PID=50596&amp;title=lnk2005-errors#50596</guid>
  </item> 
  <item>
   <title><![CDATA[LNK2005 errors : I&amp;#039;m getting a ton of errors...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14675&amp;PID=50594&amp;title=lnk2005-errors#50594</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=203">Ark42</a><br /><strong>Subject:</strong> 14675<br /><strong>Posted:</strong> 02 July 2009 at 12:18pm<br /><br />I'm getting a ton of errors like:<br>FreeImage.lib(png.obj) : error LNK2005: _png_set_sig_bytes already defined in ToolkitPro1122vc71S.lib(png.obj)<br>Because both libraries I'm trying to link with statically include their own internal libpng. Is there a way to work-around this, or have Codejock hide the png symbols internally so they don't conflict?<br><br>]]>
   </description>
   <pubDate>Thu, 02 Jul 2009 12:18:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14675&amp;PID=50594&amp;title=lnk2005-errors#50594</guid>
  </item> 
 </channel>
</rss>