{"id":58,"date":"2012-03-14T17:34:00","date_gmt":"2012-03-14T17:34:00","guid":{"rendered":"https:\/\/www.root42.de\/blog\/?p=58"},"modified":"2012-03-14T17:34:00","modified_gmt":"2012-03-14T17:34:00","slug":"xcode-4-3-boost-and-the-directory-developer","status":"publish","type":"post","link":"https:\/\/www.root42.de\/blog\/?p=58","title":{"rendered":"Xcode 4.3, boost and the directory \/Developer"},"content":{"rendered":"<p>Xcode 4.3 changed a lot. Most notably, all the stuff that was once under <span style=\"font-family: 'Courier New', Courier, monospace;\">\/Developer<\/span> now resides under <span style=\"font-family: 'Courier New', Courier, monospace;\">\/Application\/Xcode.app\/Contents\/Developer<\/span>. And the SDKs have moved under the *.platform subdirectories. This breaks a lot of stuff. Especially auto-detecting build systems, such as boost jam. Will write back when I have some work arounds&#8230;<\/p>\n<p><b>Update<\/b>: I prepared a quick-fix for boost, so it compiles with Xcode 4.3 and builds the framework (see boost ticket&nbsp;<a href=\"https:\/\/svn.boost.org\/trac\/boost\/ticket\/6686\">#6686<\/a>. However, I still get compile errors in my project, since clang is very picky and complains about boost:<\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"http:\/\/2.bp.blogspot.com\/-XB10UdyypAU\/T2Iog0YcOuI\/AAAAAAAACDo\/juEXNDCVUUc\/s1600\/Bildschirmfoto+2012-03-15+um+18.35.05.png\" style=\"margin-left: 1em; margin-right: 1em;\"><img border=\"0\" src=\"http:\/\/2.bp.blogspot.com\/-XB10UdyypAU\/T2Iog0YcOuI\/AAAAAAAACDo\/juEXNDCVUUc\/s1600\/Bildschirmfoto+2012-03-15+um+18.35.05.png\" \/><\/a><\/div>\n<p>I think this might be a genuine boost bug. It&#8217;s probably already known, but I haven&#8217;t checked. Will post another update when I find something.<br \/>The quick fix is also available in my github repo, <a href=\"https:\/\/github.com\/root42\/boostoniphone-with-objc-nil-fix\/commit\/7c5e2fb7bdb4d6ed5506ae0154f0714dc53a669a\">see here<\/a>.<\/p>\n<p><b>Update 2:<\/b> This is a <a href=\"https:\/\/svn.boost.org\/trac\/boost\/ticket\/6198\">known error<\/a>, and it has been fixed in later revisions of boost (I am using 1.48 right now). The solution here is that instead of <span style=\"font-family: 'Courier New', Courier, monospace;\">size<\/span>, there should be <span style=\"font-family: 'Courier New', Courier, monospace;\">size_arg<\/span>. I wonder how this could ever have worked&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Xcode 4.3 changed a lot. Most notably, all the stuff that was once under \/Developer now resides under \/Application\/Xcode.app\/Contents\/Developer. And the SDKs have moved under the *.platform subdirectories. This breaks a lot of stuff. Especially auto-detecting build systems, such as boost jam. Will write back when I have some work arounds&#8230; Update: I prepared a &hellip; <a href=\"https:\/\/www.root42.de\/blog\/?p=58\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Xcode 4.3, boost and the directory \/Developer&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[43,38,44],"tags":[],"_links":{"self":[{"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=\/wp\/v2\/posts\/58"}],"collection":[{"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=58"}],"version-history":[{"count":0,"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=\/wp\/v2\/posts\/58\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=58"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=58"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=58"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}