[Bf-viewport] macOS Compile error in Blender2.8/viewport branch

Mike Erwin significant.bit at gmail.com
Sat Feb 25 14:10:19 CET 2017


I don't know how to fix this, but I usually build on Mac with

$ make lite debug

Does that work for you? I'm also on latest MacOS and Xcode, same versions.

Are you using the new darwin libs (not darwin-9.x-universal)?

Mike Erwin
musician, naturalist, pixel pusher, hacker extraordinaire

On Sat, Feb 25, 2017 at 12:35 AM, kidux <blender at vip.qq.com> wrote:

> *System Information*
> macOS 10.12.3 xcode 8.2.1
>
> *Blender Version*
> Blender2.8 branch
>
> *Short description of error*
> use command make to compile Blender2.8branch in console, error report not
> find 'mutex' I think this is need set cxx to c++11 feature
>
> *Exact steps for others to reproduce the error*
> when I add set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
> to cmakefile in gpu folder, make again, error report :
>
>  Building C object source/blender/gpu/CMakeFiles/bf_gpu.dir/gawain/imm_util.c.o
> /Volumes/HD-PNTU3/Blenderdev/blender/source/blender/gpu/gawain/buffer_id.cpp:13:10: fatal error:
>       'mutex' file not found
> #include <mutex>
>
> don't know why this flag can't effect this file compile process.
>
> _______________________________________________
> Bf-viewport mailing list
> Bf-viewport at blender.org
> https://lists.blender.org/mailman/listinfo/bf-viewport
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/bf-viewport/attachments/20170225/340642a8/attachment.htm 


More information about the Bf-viewport mailing list