{"id":1305,"date":"2012-12-12T15:03:49","date_gmt":"2012-12-12T20:03:49","guid":{"rendered":"http:\/\/www.jaimerios.com\/?p=1305"},"modified":"2012-12-12T15:03:49","modified_gmt":"2012-12-12T20:03:49","slug":"bitten-by-imageio-and-libtiff","status":"publish","type":"post","link":"https:\/\/jaimerios.com\/?p=1305","title":{"rendered":"Bitten by ImageIO and libTIFF"},"content":{"rendered":"<p>I had a project I worked on where I couldn&#8217;t debug my Application with Xcode 4.5 because there was a conflict between the <a href=\"http:\/\/www.libtiff.org\" target=\"_blank\" rel=\"noopener\">libTIFF<\/a> I was using in one of my modules and the copy of libTIFF included with the ImageIO framework.<\/p>\n<p>It turns out that the two libTIFF libraries were actually different, so, for the small test project I created, I decided to statically link in the code I needed from libTIFF so that dlopen wouldn&#8217;t supplant the copy of libTIFF ImageIO needed with my copy.<\/p>\n<p>References:<br \/>\n<a href=\"http:\/\/lists.apple.com\/archives\/xcode-users\/2008\/Jan\/msg00019.html\" target=\"_blank\" rel=\"noopener\">http:\/\/lists.apple.com\/archives\/xcode-users\/2008\/Jan\/msg00019.html<\/a><br \/>\n<a href=\"http:\/\/lists.apple.com\/archives\/x11-users\/2007\/Mar\/msg00003.html\" target=\"_blank\" rel=\"noopener\">http:\/\/lists.apple.com\/archives\/x11-users\/2007\/Mar\/msg00003.html<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>ApplicationServices.framework and ImageIO.framework use their own version of libJPEG\/libTIFF so if you were to use the standard version from the web, you would have a conflict when the application loads. This appears to only affect Xcode 4.X.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[160,244,266,267,276,277,278,448,449,506],"class_list":["post-1305","post","type-post","status-publish","format-standard","hentry","category-coding","tag-debug","tag-imageio","tag-jpeg","tag-jpg","tag-libjpeg","tag-libjpg","tag-libtiff","tag-tif","tag-tiff","tag-xcode"],"_links":{"self":[{"href":"https:\/\/jaimerios.com\/index.php?rest_route=\/wp\/v2\/posts\/1305","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jaimerios.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jaimerios.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jaimerios.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jaimerios.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1305"}],"version-history":[{"count":0,"href":"https:\/\/jaimerios.com\/index.php?rest_route=\/wp\/v2\/posts\/1305\/revisions"}],"wp:attachment":[{"href":"https:\/\/jaimerios.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1305"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jaimerios.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1305"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jaimerios.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1305"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}