{"action":"created","issue":{"url":"https://api.github.com/repos/Beep6581/RawTherapee/issues/3161","repository_url":"https://api.github.com/repos/Beep6581/RawTherapee","labels_url":"https://api.github.com/repos/Beep6581/RawTherapee/issues/3161/labels{/name}","comments_url":"https://api.github.com/repos/Beep6581/RawTherapee/issues/3161/comments","events_url":"https://api.github.com/repos/Beep6581/RawTherapee/issues/3161/events","html_url":"https://github.com/Beep6581/RawTherapee/issues/3161","id":135026095,"number":3161,"title":"Compiling on OS X 10.10 and newer","user":{"login":"ion12","id":8472005,"avatar_url":"https://avatars.githubusercontent.com/u/8472005?v=3","gravatar_id":"","url":"https://api.github.com/users/ion12","html_url":"https://github.com/ion12","followers_url":"https://api.github.com/users/ion12/followers","following_url":"https://api.github.com/users/ion12/following{/other_user}","gists_url":"https://api.github.com/users/ion12/gists{/gist_id}","starred_url":"https://api.github.com/users/ion12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ion12/subscriptions","organizations_url":"https://api.github.com/users/ion12/orgs","repos_url":"https://api.github.com/users/ion12/repos","events_url":"https://api.github.com/users/ion12/events{/privacy}","received_events_url":"https://api.github.com/users/ion12/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Beep6581/RawTherapee/labels/Compilation","name":"Compilation","color":"fad8c7"}],"state":"open","locked":false,"assignee":{"login":"Beep6581","id":5844619,"avatar_url":"https://avatars.githubusercontent.com/u/5844619?v=3","gravatar_id":"","url":"https://api.github.com/users/Beep6581","html_url":"https://github.com/Beep6581","followers_url":"https://api.github.com/users/Beep6581/followers","following_url":"https://api.github.com/users/Beep6581/following{/other_user}","gists_url":"https://api.github.com/users/Beep6581/gists{/gist_id}","starred_url":"https://api.github.com/users/Beep6581/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Beep6581/subscriptions","organizations_url":"https://api.github.com/users/Beep6581/orgs","repos_url":"https://api.github.com/users/Beep6581/repos","events_url":"https://api.github.com/users/Beep6581/events{/privacy}","received_events_url":"https://api.github.com/users/Beep6581/received_events","type":"User","site_admin":false},"milestone":null,"comments":10,"created_at":"2016-02-20T03:05:34Z","updated_at":"2016-02-22T19:32:04Z","closed_at":null,"body":"Always found compiling on 10.6 and 10.8 with Macports very smooth.\r\nFirst time trying to compile on 10.11, followed instruction on RawPedia.\r\nThe only real difference it seemed was that Clang needed to be compiled manually for openmp support.\r\n\r\nTried to compile first with clang 3.9 + libopenmp from svn trunk. Failed.\r\n\r\nInstalled Clang from Macports Clang 3.7 as it seemed it has openmp support as well using\r\nsudo port install clang-3.7 +openmp.\r\n\r\nFailed at first as well, until I realized that the patch for RawTherapee/rtengine/ipsharpen.cc still needs to be done manually, as described in\r\nhttp://rawtherapee.com/oldforum/viewtopic.php?p=44395#p44395\r\n(The code has changed a bit since then, it's on line 270 right now).\r\nBuild succeeded.\r\nTried again with clang from svn but still no go.\r\n\r\nlibiconv.2.dylib still needs to be manually patched as well, (otherwise RT will crash on startup without even reaching the splash screen), as described here:\r\nhttp://rawtherapee.com/oldforum/viewtopic.php?f=10&t=6307#p44103\r\n\r\nThere are also a lot of warnings while compiling, which I'm guessing are Clang related incompatibilities, but it's above my head.\r\n\r\nI'm not sure if there's any point in submitting error logs, because it seems like everything I've done to compile, and all the issues I've run up against have already been reported, it's just that it's scattered across different github issues and old forum posts.\r\n\r\nI would be nice to update RawPedia to install \"clang-3.7 +openmp\" from Macports and maybe RawTherapee/rtengine/ipsharpen.cc can be patched? \r\nseems like it was supposed to be anyway in issue 3003 but it never happened.\r\nI don't know if libiconv could be downloaded, patched, compiled and bundled with RT (instead of the regular Macports version which causes RT to crash) by a script in the RT source itself? perhaps in /Users/Yonatan/builds/rtbuild/RawTherapee/rtdata/osx/macosx_bundle.sh ? \r\nbut if not it should be mentioned on RawPedia how to manually do it.\r\n\r\nWilling to help out but will probably not have any more time until next weekend\r\n\r\nIn the meantime, release and debug builds done today, OSX_10.11_64_4.2.677\r\n\r\nhttp://filebin.net/yhtmmcq79o"},"comment":{"url":"https://api.github.com/repos/Beep6581/RawTherapee/issues/comments/187336245","html_url":"https://github.com/Beep6581/RawTherapee/issues/3161#issuecomment-187336245","issue_url":"https://api.github.com/repos/Beep6581/RawTherapee/issues/3161","id":187336245,"user":{"login":"adamreichold","id":12997846,"avatar_url":"https://avatars.githubusercontent.com/u/12997846?v=3","gravatar_id":"","url":"https://api.github.com/users/adamreichold","html_url":"https://github.com/adamreichold","followers_url":"https://api.github.com/users/adamreichold/followers","following_url":"https://api.github.com/users/adamreichold/following{/other_user}","gists_url":"https://api.github.com/users/adamreichold/gists{/gist_id}","starred_url":"https://api.github.com/users/adamreichold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamreichold/subscriptions","organizations_url":"https://api.github.com/users/adamreichold/orgs","repos_url":"https://api.github.com/users/adamreichold/repos","events_url":"https://api.github.com/users/adamreichold/events{/privacy}","received_events_url":"https://api.github.com/users/adamreichold/received_events","type":"User","site_admin":false},"created_at":"2016-02-22T19:32:04Z","updated_at":"2016-02-22T19:32:04Z","body":"@Beep6581 From looking at the source (which does seem to have changed in `libiconv`'s `master` branch) and at the patch, this looks like it might be related to Mac OS X's FreeBSD heritage? Shouldn't defining `__FreeBSD__ ` during the build have the same effect? If so, maybe this is something that could be incorporated into the MacPorts build script? (There do not seem to be any Darwin- or Mac-OS-X-specific code paths in the `libiconv` source.)"}}