[Bf-committers] OS X update to XCode 4 breaks compiling
ideasman42 at gmail.com
Sun Mar 20 02:54:56 CET 2011
CMake now checks for Clang++ and disables the unsupported features
mentioned below (gives a warning).
Info on building llvm/clang/blender on linux.
On Sun, Mar 20, 2011 at 12:51 AM, Campbell Barton <ideasman42 at gmail.com> wrote:
> Is it more a case of clang not building blender then Xcode4 specifically?
> If so this is probably no different to building clang on Linux which
> I've been doing for a while.
> From my tests clang (r127942 from yesterday, and previous builds) it
> fails on 2 external libs.
> - elbeem (fluids)
> - eigen2 (math lib)
> To build with clang with cmake it means turning off: WITH_MOD_FLUID &
> Getting fluid working is simple, but the patch is ugly, someone with
> C++ knowledge could better fix it or report a bug to clang.
> patch: http://www.graphicall.org/ftp/ideasman42/clang_elbeem_hack.diff
> I've tried Eigen2 a few times and its not so easy, its templates confuse clang.
> compiler output:
> If these are compiler bugs we could also just wait until clang
> addresses them before trying to support it.
> Until then we could detect clang and disable unsupported features,
> just not use clang for official builds.
> - Campbell
> On Sat, Mar 19, 2011 at 11:14 PM, Dustin Martin <dustin at 54.org> wrote:
>> Hey there,
>> Its true that apple is moving towards Xcode4 but at least for the time being you can still get Xcode3. Its just you have to look for it on the Xcode4 page. At least when I logged in I saw the link on the right side of the page. However its safe to assume Apple has no intentions of supporting Xcode3 from here on out. So you probably still have another year or so before Apple drops support for it all together.
>> I can't imagine it being too hard so I wouldn't mind taking a crack at making it work.
>> - Dustin
>> On Mar 19, 2011, at 3:47 PM, Benjamin Tolputt wrote:
>>> On 19/03/2011 11:36 PM, Damien Plisson wrote:
>>>> BTW, why rushing to XCode 4?
>>>> I mean Blender is not a native Cocoa application with heavy Interface Builder use, and other fancy stuff that'll take advantage of the new XCode 4 ?
>>> It is not a matter of "rushing" but a matter of what Apple is "pushing".
>>> As an iPhone/iPad developer, I need to use what Apple is pushing,
>>> whether I like it or not, as one cannot compile for their latest iOS SDK
>>> without XCode4. Other applications compile with relatively little
>>> trouble from their CMake output, however SDNA related applications have
>>> had the odd quirk - so there is something potentially wrong there in
>>> limited circumstances (OpenAL related from what I can tell).
>>> In any case, obtaining XCode 3 is not really an option for NEW
>>> developers. The official download from Apple for XCode
>>> (http://developer.apple/com/xcode/) is now XCode 4. They'll download the
>>> tools they are told are necessary and still be unable to compile
>>> Blender. Whether we like Apple's new IDE or not (and I personally
>>> don't), it is what Apple developers are getting now and/or will NEED to
>>> get in the near future.
>>> Benjamin Tolputt
>>> Analyst Programmer
>>> Bf-committers mailing list
>>> Bf-committers at blender.org
>> Bf-committers mailing list
>> Bf-committers at blender.org
More information about the Bf-committers