I just fixed the Cycles link error and removed some unnecessary information from the wiki page. https://developer.blender.org/rB83b1f24140f63b35f93457d03f779b964ffad8ca https://wiki.blender.org/index.php/Dev:Doc/Building_Blender/Mac
Other than that, building with Xcode works out of the box for me, I can generate the Xcode project and build it following the instructions on the wiki page. This is with macOS 10.12.1 and Xcode 8.1. If another configuration fails we should fix that in our CMake files probably. I'm not sure if there is a C++11 problem that needs to be solved or mentioned on the wiki page. When building without C++11 there are indeed some warnings, and perhaps Valentin tried to fix those warnings in the hope of fixing the link error, but it's actually unrelated? At some point (soon?) we will switch to WITH_CXX11 by default, and then we'll update the instructions to point users to the new libraries. On Fri, Nov 18, 2016 at 7:41 PM, Gruber Aurel <augru...@student.ethz.ch> wrote: > Hey, > > - So the part about Sierra and xcode is some sort of bug or incompatibility > of xcode<->os or whatever on apples side. > > - Regarding Cycles, I’m not sure what the issue is exactly, but in release > build it works. In debug build you need to do some fiddling with the cmake > file: > https://lists.blender.org/pipermail/bf-committers/2015-October/046008.html > But I think thats an issue regardless of WITH_CXX11 and darwin libraries. > Not sure though. > > - I would like to point out the difference between C11 and C++11. C11 is the > name of a standard of the C programming language. C++11 is a standard for the > C++ language. While C++ was originally an extension of C, they are not the > same language at all. Likewise, WITH_C11 and WITH_CXX11 do different things. > > - Regarding the wiki, I’m not the right person to answer that question. But > yes, it seems sensible to me. Maybe it should be pointet out, that blender > will only support c++11 features officially with 2.8, right? > > glad I could help > > Aurel > > On 18 Nov 2016, at 15:58, Valentin Rueda > <suares.valen...@gmail.com<mailto:suares.valen...@gmail.com>> wrote: > > Thanks, now it works! > > So in order to build and run blender using Xcode I had to get another > darwin version (https://svn.blender.org/svnroot/bf-blender/trunk/lib/darwin) > and turn cmake WITH_CXX11 on, and WITH_CYCLES_* off > > Also, had to install Sierra update and update Xcode in order to run > blender. > > Should we update > https://wiki.blender.org/index.php/Dev:Doc/Building_Blender/Mac, at least > to add the reference to c11 darwin library? > > Thanks > > 2016-11-18 14:01 GMT+00:00 Gruber Aurel > <augru...@student.ethz.ch<mailto:augru...@student.ethz.ch>>: > > Yeah that is really annoying, it’s a bug i think. Are you on MacOS Sierra > already? I think that solves it. Also, update to latest Xcode version. I > thinks I had the same problem and that solved the problem. > > Aurel > > On 18 Nov 2016, at 14:59, Valentin Rueda > <suares.valen...@gmail.com<mailto:suares.valen...@gmail.com>> > wrote: > > Thanks, > After I turn WITH_CYCLES* off - it builds successfully. > > But now, when I run blender.app it fails with critical error(as I > consider > when it tries to init python) http://prntscr.com/d8v4a2 > > I have python 2. and 3. installed. > Here is make cmake python settings http://prntscr.com/d8v2e3 > > If I turn WITH_PYTHON off build fails with http://prntscr.com/d8v7jn > > Am I missing something? > > -- > Best regards > Rueda Valentin > _______________________________________________ > Bf-committers mailing list > Bf-committers@blender.org<mailto:Bf-committers@blender.org> > https://lists.blender.org/mailman/listinfo/bf-committers > > _______________________________________________ > Bf-committers mailing list > Bf-committers@blender.org<mailto:Bf-committers@blender.org> > https://lists.blender.org/mailman/listinfo/bf-committers > > > > > -- > Best regards > Rueda Valentin > _______________________________________________ > Bf-committers mailing list > Bf-committers@blender.org<mailto:Bf-committers@blender.org> > https://lists.blender.org/mailman/listinfo/bf-committers > > _______________________________________________ > Bf-committers mailing list > Bf-committers@blender.org > https://lists.blender.org/mailman/listinfo/bf-committers _______________________________________________ Bf-committers mailing list Bf-committers@blender.org https://lists.blender.org/mailman/listinfo/bf-committers