ivansafrin/Polycode — pull request #113 by dannywarren (2012-06-18 11:02:46+00:00)
Title: Fix for multiply defined symbols fatal error in polyimport.cpp on win32

* the assimp libraries appear to be compiled with zlib support already, so including them again when linking polyimport results in a multiply defined symbols error on visual studio 2010

* removed zlib from the list of link libraries for polyimport on win32 only

* not sure if this needs done on other platforms or not

* verified that polyimport.exe still works after this tweak

* full text of error:

assimp.lib(inflate.obj) : error LNK2005: _inflateInit2_ already defined in zlib.lib(zlib.dll) [Polycode\Build\Tools\Contents\polyimport\polyimport.vcxproj]
assimp.lib(inflate.obj) : error LNK2005: _inflate already defined in zlib.lib(zlib.dll) [Polycode\Build\Tools\Contents\polyimport\polyimport.vcxproj]
assimp.lib(inflate.obj) : error LNK2005: _inflateEnd already defined in zlib.lib(zlib.dll) [Polycode\Build\Tools\Contents\polyimport\polyimport.vcxproj]
Polycode\Build\Tools\Contents\polyimport\Release\polyimport.exe : fatal error LNK1169: one or more multiply defined symbols found [Polycode\Build\Tools\Contents\polyimport\polyimport.vcxproj]