[Bf-committers] OS X update to XCode 4 breaks compiling

Tom M letterrip at gmail.com
Sun Mar 20 03:41:55 CET 2011


Has anyone checked if eigen3 compiles and if so upgrading to eigen3?

http://eigen.tuxfamily.org/index.php?title=Main_Page
http://eigen.tuxfamily.org/index.php?title=3.0
http://eigen.tuxfamily.org/dox/Eigen2ToEigen3.html

Sounds like it is the better choice and can be used with eigen 2 API
support if needed.



On Sat, Mar 19, 2011 at 5:54 PM, Campbell Barton <ideasman42 at gmail.com> wrote:
> CMake now checks for Clang++ and disables the unsupported features
> mentioned below (gives a warning).
> Committed r35635.
>
> Info on building llvm/clang/blender on linux.
>  http://wiki.blender.org/index.php/User:Ideasman42/BlenderClang
>
> 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 &
>> WITH_IK_ITASC.
>>
>> 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:
>> http://www.graphicall.org/ftp/ideasman42/clang_eigen2_errors.html
>>
>> 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.
>>>>
>>>>
>>>> --
>>>> Regards,
>>>>
>>>> Benjamin Tolputt
>>>> Analyst Programmer
>>>>
>>>> _______________________________________________
>>>> Bf-committers mailing list
>>>> Bf-committers at blender.org
>>>> http://lists.blender.org/mailman/listinfo/bf-committers
>>>
>>> _______________________________________________
>>> Bf-committers mailing list
>>> Bf-committers at blender.org
>>> http://lists.blender.org/mailman/listinfo/bf-committers
>>
>
>
>
> --
> - Campbell
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>


More information about the Bf-committers mailing list