A little late but I found a workaround for this since I was in the same boat. 
Maybe it’ll help someone else searching for a solution. The clue came from the 
cmakefile for bf_intern_cycles:

# avoid link failure with clang 3.4 debug
if(CMAKE_C_COMPILER_ID MATCHES "Clang" AND NOT ${CMAKE_C_COMPILER_VERSION} 
VERSION_LESS '3.4')
        set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -gline-tables-only")
endif()

All you have to do it set “-gline-tables-only” on the bf_intern_cycles target 
under "Other C++ Flags” and it should compile properly and breakpoints seem to 
work fine.

Tod.


> On Sep 7, 2015, at 11:51 PM, tom <[email protected]> wrote:
> 
> Hi :
> 
>  I am in OS X 10.10, Xcode 6.4, and want to build blender-v2.75-release,
>  though I know either turn off cycles or turn to ‘Release' build can Blender 
> be compiled successfully, 
>  I still want to compile it with cycles in ‘Debug’ build, and I get the same 
> linker error like this S.O. question:
> http://stackoverflow.com/questions/31178003/how-to-build-a-blender-build-in-xcode-5
>  
> <http://stackoverflow.com/questions/31178003/how-to-build-a-blender-build-in-xcode-5>
> 
> After googling, I still have no idea. 
> Where are those missing lib and how can I successfully build the Blender? 
> 
> tomjpsun
> 
> _______________________________________________
> Bf-committers mailing list
> [email protected]
> http://lists.blender.org/mailman/listinfo/bf-committers

_______________________________________________
Bf-committers mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-committers

Reply via email to