[Bf-committers] Linker fails using Xcode
Gruber Aurel
augruber at student.ethz.ch
Fri Nov 18 19:41:52 CET 2016
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.valentin at gmail.com<mailto:suares.valentin at 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 <augruber at student.ethz.ch<mailto:augruber at 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.valentin at gmail.com<mailto:suares.valentin at 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 at blender.org<mailto:Bf-committers at blender.org>
https://lists.blender.org/mailman/listinfo/bf-committers
_______________________________________________
Bf-committers mailing list
Bf-committers at blender.org<mailto:Bf-committers at blender.org>
https://lists.blender.org/mailman/listinfo/bf-committers
--
Best regards
Rueda Valentin
_______________________________________________
Bf-committers mailing list
Bf-committers at blender.org<mailto:Bf-committers at blender.org>
https://lists.blender.org/mailman/listinfo/bf-committers
More information about the Bf-committers
mailing list