Compiling latest branch on MacOS fails (undefined symbol)

I tried compiling the latest master on MacOS Mojave. Some new libs were downloaded like Python 3.9. Just to make sure, I removed entirely libs and build folders and let make update then make do their job. I still get this error:

Undefined symbols for architecture x86_64:
  "___isPlatformVersionAtLeast", referenced from:
      _py_posix_spawn in libpython3.9.a(posixmodule.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [bin/Blender.app/Contents/MacOS/Blender] Error 1
make[2]: *** [source/creator/CMakeFiles/blender.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2
1 Like

I do have the same fails.

%sw_vers
ProductName:	Mac OS X
ProductVersion:	10.13.6
BuildVersion:	17G14042
build setup

% make
Configuring Blender in β€œ/Users/dup/blender-source/build_darwin” …
– The C compiler identification is AppleClang 10.0.0.10001044
– The CXX compiler identification is AppleClang 10.0.0.10001044
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
– Detecting C compile features
– Detecting C compile features - done
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
– Detecting CXX compile features
– Detecting CXX compile features - done
– Detected native architecture x86_64.
– Detected OS X 10.14.1 and Command Line Tools 10.1 at /Library/Developer/CommandLineTools
– SDKs Directory: /Library/Developer/CommandLineTools/SDKs
– Detected OSX_SYSROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk
– Found Git: /usr/bin/git (found version β€œ2.17.2 (Apple Git-113)”)
– Found ZLIB: /usr/lib/libz.dylib (found version β€œ1.2.11”)
– Found BZip2: /usr/lib/libbz2.dylib (found version β€œ1.0.6”)
– Looking for BZ2_bzCompressInit
– Looking for BZ2_bzCompressInit - found
– Found OpenAL: /System/Library/Frameworks/OpenAL.framework
– Found Alembic: /Users/dup/blender-source/lib/darwin/alembic/lib/libAlembic.a
– Found USD: /Users/dup/blender-source/lib/darwin/usd/lib/libusd_m.a
– Found OpenSubdiv: /Users/dup/blender-source/lib/darwin/opensubdiv/lib/libosdGPU.a;/Users/dup/blender-source/lib/darwin/opensubdiv/lib/libosdCPU.a
– Found OpenMP_C: -Xclang -fopenmp (found version β€œ3.1”)
– Found OpenMP_CXX: -Xclang -fopenmp (found version β€œ3.1”)
– Found OpenMP: TRUE (found version β€œ3.1”)
– Found SndFile: /Users/dup/blender-source/lib/darwin/sndfile/lib/libsndfile.a
– Found SndFile libraries: /Users/dup/blender-source/lib/darwin/sndfile/lib/libsndfile.a;/Users/dup/blender-source/lib/darwin/sndfile/lib/libFLAC.a;/Users/dup/blender-source/lib/darwin/ffmpeg/lib/libogg.a;/Users/dup/blender-source/lib/darwin/ffmpeg/lib/libvorbis.a;/Users/dup/blender-source/lib/darwin/ffmpeg/lib/libvorbisenc.a
– Found Fftw3: /Users/dup/blender-source/lib/darwin/fftw3/lib/libfftw3.a
– Found Freetype: /Users/dup/blender-source/lib/darwin/freetype/lib/libfreetype.a (found version β€œ2.10.2”)
– #define OPENEXR_VERSION_STRING β€œ2.4.0”
– Found OpenEXR: /Users/dup/blender-source/lib/darwin/openexr/lib/libHalf.a;/Users/dup/blender-source/lib/darwin/openexr/lib/libIex.a;/Users/dup/blender-source/lib/darwin/openexr/lib/libIlmImf.a;/Users/dup/blender-source/lib/darwin/openexr/lib/libIlmThread.a;/Users/dup/blender-source/lib/darwin/openexr/lib/libImath.a
– Found FFmpeg: /Users/dup/blender-source/lib/darwin/ffmpeg/lib/libavcodec.a;/Users/dup/blender-source/lib/darwin/ffmpeg/lib/libavdevice.a;/Users/dup/blender-source/lib/darwin/ffmpeg/lib/libavformat.a;/Users/dup/blender-source/lib/darwin/ffmpeg/lib/libavutil.a;/Users/dup/blender-source/lib/darwin/ffmpeg/lib/libmp3lame.a;/Users/dup/blender-source/lib/darwin/ffmpeg/lib/libogg.a;/Users/dup/blender-source/lib/darwin/ffmpeg/lib/libopus.a;/Users/dup/blender-source/lib/darwin/ffmpeg/lib/libswresample.a;/Users/dup/blender-source/lib/darwin/ffmpeg/lib/libswscale.a;/Users/dup/blender-source/lib/darwin/ffmpeg/lib/libtheora.a;/Users/dup/blender-source/lib/darwin/ffmpeg/lib/libtheoradec.a;/Users/dup/blender-source/lib/darwin/ffmpeg/lib/libtheoraenc.a;/Users/dup/blender-source/lib/darwin/ffmpeg/lib/libvorbis.a;/Users/dup/blender-source/lib/darwin/ffmpeg/lib/libvorbisenc.a;/Users/dup/blender-source/lib/darwin/ffmpeg/lib/libvorbisfile.a;/Users/dup/blender-source/lib/darwin/ffmpeg/lib/libvpx.a;/Users/dup/blender-source/lib/darwin/ffmpeg/lib/libx264.a;/Users/dup/blender-source/lib/darwin/ffmpeg/lib/libxvidcore.a
– Found OpenJPEG: /Users/dup/blender-source/lib/darwin/openjpeg/lib/libopenjp2.a
– Found OpenCOLLADA: /Users/dup/blender-source/lib/darwin/opencollada/lib/libOpenCOLLADAStreamWriter.a;/Users/dup/blender-source/lib/darwin/opencollada/lib/libOpenCOLLADASaxFrameworkLoader.a;/Users/dup/blender-source/lib/darwin/opencollada/lib/libOpenCOLLADAFramework.a;/Users/dup/blender-source/lib/darwin/opencollada/lib/libOpenCOLLADABaseUtils.a;/Users/dup/blender-source/lib/darwin/opencollada/lib/libGeneratedSaxParser.a;/Users/dup/blender-source/lib/darwin/opencollada/lib/libMathMLSolver.a;/Users/dup/blender-source/lib/darwin/opencollada/lib/libbuffer.a;/Users/dup/blender-source/lib/darwin/opencollada/lib/libftoa.a;/Users/dup/blender-source/lib/darwin/opencollada/lib/libUTF.a
– Found PCRE: /Users/dup/blender-source/lib/darwin/opencollada/lib/libpcre.a
– Found XML2: /Users/dup/blender-source/lib/darwin/opencollada/lib/libxml2.a
– Found SDL2: /Users/dup/blender-source/lib/darwin/sdl/lib/libSDL2.a
– Found PNG: /Users/dup/blender-source/lib/darwin/png/lib/libpng.a (found version β€œ1.6.37”)
– Found JPEG: /Users/dup/blender-source/lib/darwin/jpeg/lib/libjpeg.a (found version β€œ80”)
– Found TIFF: /Users/dup/blender-source/lib/darwin/tiff/lib/libtiff.a (found version β€œ4.1.0”)
– Looking for pthread.h
– Looking for pthread.h - found
– Performing Test CMAKE_HAVE_LIBC_PTHREAD
– Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
– Found Threads: TRUE
– Found Boost: /Users/dup/blender-source/lib/darwin/boost/include (found version β€œ1.73.0”) found components: date_time filesystem regex system thread wave locale iostreams chrono atomic serialization
– Found PugiXML: /Users/dup/blender-source/lib/darwin/pugixml/lib/libpugixml.a
– Found OpenImageIO: /Users/dup/blender-source/lib/darwin/openimageio/lib/libOpenImageIO.a
– Found OpenColorIO: /Users/dup/blender-source/lib/darwin/opencolorio/lib/libOpenColorIO.a;/Users/dup/blender-source/lib/darwin/opencolorio/lib/libyaml-cpp.a;/Users/dup/blender-source/lib/darwin/opencolorio/lib/libexpat.a;/Users/dup/blender-source/lib/darwin/opencolorio/lib/libpystring.a (found suitable version β€œ2.0.0”, minimum required is β€œ2.0.0”)
– Found OpenVDB: /Users/dup/blender-source/lib/darwin/openvdb/lib/libopenvdb.a
– Found Blosc: /Users/dup/blender-source/lib/darwin/openvdb/lib/libblosc.a
– Found NanoVDB: /Users/dup/blender-source/lib/darwin/nanovdb/include
– Could NOT find sse2neon (missing: SSE2NEON_INCLUDE_DIR)
– Found LLVM: /Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMXRay.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMWindowsManifest.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMTextAPI.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMTableGen.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMSymbolize.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMDebugInfoPDB.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMOrcJIT.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMJITLink.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMObjectYAML.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMMIRParser.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMMCA.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMLTO.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMPasses.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMObjCARCOpts.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMLineEditor.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMLibDriver.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMInterpreter.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMFuzzMutate.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMMCJIT.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMExecutionEngine.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMRuntimeDyld.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMDlltoolDriver.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMOption.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMDebugInfoGSYM.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMCoverage.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMCoroutines.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMipo.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMInstrumentation.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMVectorize.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMLinker.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMIRReader.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMAsmParser.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMX86Disassembler.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMX86AsmParser.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMX86CodeGen.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMGlobalISel.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMSelectionDAG.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMAsmPrinter.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMDebugInfoDWARF.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMCodeGen.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMTarget.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMScalarOpts.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMInstCombine.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMAggressiveInstCombine.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMTransformUtils.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMBitWriter.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMAnalysis.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMProfileData.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMX86Desc.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMObject.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMMCParser.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMBitReader.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMCore.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMRemarks.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMBitstreamReader.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMMCDisassembler.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMMC.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMDebugInfoCodeView.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMDebugInfoMSF.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMBinaryFormat.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMX86Utils.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMX86Info.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMSupport.a;/Users/dup/blender-source/lib/darwin/llvm/lib/libLLVMDemangle.a
– Found Embree: /Users/dup/blender-source/lib/darwin/embree/lib/libembree3.a;/Users/dup/blender-source/lib/darwin/embree/lib/libembree_sse42.a;/Users/dup/blender-source/lib/darwin/embree/lib/libembree_avx.a;/Users/dup/blender-source/lib/darwin/embree/lib/libembree_avx2.a;/Users/dup/blender-source/lib/darwin/embree/lib/liblexers.a;/Users/dup/blender-source/lib/darwin/embree/lib/libmath.a;/Users/dup/blender-source/lib/darwin/embree/lib/libsimd.a;/Users/dup/blender-source/lib/darwin/embree/lib/libsys.a;/Users/dup/blender-source/lib/darwin/embree/lib/libtasking.a (Required is at least version β€œ3.8.0”)
– Found OpenImageDenoise: /Users/dup/blender-source/lib/darwin/openimagedenoise/lib/libOpenImageDenoise.a
– Found TBB: /Users/dup/blender-source/lib/darwin/tbb/lib/libtbb.a
– Found Potrace: /Users/dup/blender-source/lib/darwin/potrace/lib/libpotrace.a
– Using /Users/dup/blender-source/blender-git/…/lib/darwin/openmp for OpenMP
– Found GMP: /Users/dup/blender-source/lib/darwin/gmp/lib/libgmp.a
– Found Haru: /Users/dup/blender-source/lib/darwin/haru/lib/libhpdfs.a
– Performing Test SUPPORT_NEON_BUILD
– Performing Test SUPPORT_NEON_BUILD - Failed
– Performing Test SUPPORT_SSE_BUILD
– Performing Test SUPPORT_SSE_BUILD - Failed
– Performing Test SUPPORT_SSE2_BUILD
– Performing Test SUPPORT_SSE2_BUILD - Failed
– No SIMD instructions detected
– Found OpenGL: /System/Library/Frameworks/OpenGL.framework
– Performing Test C_WARN_ALL
– Performing Test C_WARN_ALL - Success
– Performing Test C_WARN_ERROR_IMPLICIT_FUNCTION_DECLARATION
– Performing Test C_WARN_ERROR_IMPLICIT_FUNCTION_DECLARATION - Success
– Performing Test C_WARN_ERROR_RETURN_TYPE
– Performing Test C_WARN_ERROR_RETURN_TYPE - Success
– Performing Test C_WARN_NO_AUTOLOGICAL_COMPARE
– Performing Test C_WARN_NO_AUTOLOGICAL_COMPARE - Success
– Performing Test C_WARN_NO_UNKNOWN_PRAGMAS
– Performing Test C_WARN_NO_UNKNOWN_PRAGMAS - Success
– Performing Test C_WARN_NO_CHAR_SUBSCRIPTS
– Performing Test C_WARN_NO_CHAR_SUBSCRIPTS - Success
– Performing Test C_WARN_STRICT_PROTOTYPES
– Performing Test C_WARN_STRICT_PROTOTYPES - Success
– Performing Test C_WARN_MISSING_PROTOTYPES
– Performing Test C_WARN_MISSING_PROTOTYPES - Success
– Performing Test C_WARN_UNUSED_PARAMETER
– Performing Test C_WARN_UNUSED_PARAMETER - Success
– Performing Test CXX_WARN_ALL
– Performing Test CXX_WARN_ALL - Success
– Performing Test CXX_WARN_NO_AUTOLOGICAL_COMPARE
– Performing Test CXX_WARN_NO_AUTOLOGICAL_COMPARE - Success
– Performing Test CXX_WARN_NO_UNKNOWN_PRAGMAS
– Performing Test CXX_WARN_NO_UNKNOWN_PRAGMAS - Success
– Performing Test CXX_WARN_NO_CHAR_SUBSCRIPTS
– Performing Test CXX_WARN_NO_CHAR_SUBSCRIPTS - Success
– Performing Test CXX_WARN_NO_OVERLOADED_VIRTUAL
– Performing Test CXX_WARN_NO_OVERLOADED_VIRTUAL - Success
– Performing Test CXX_WARN_NO_SIGN_COMPARE
– Performing Test CXX_WARN_NO_SIGN_COMPARE - Success
– Performing Test CXX_WARN_NO_INVALID_OFFSETOF
– Performing Test CXX_WARN_NO_INVALID_OFFSETOF - Success
– Performing Test C_WARN_NO_UNUSED_PARAMETER
– Performing Test C_WARN_NO_UNUSED_PARAMETER - Success
– Performing Test C_WARN_NO_UNUSED_VARIABLE
– Performing Test C_WARN_NO_UNUSED_VARIABLE - Success
– Performing Test C_WARN_NO_UNUSED_MACROS
– Performing Test C_WARN_NO_UNUSED_MACROS - Success
– Performing Test C_WARN_NO_MISLEADING_INDENTATION
– Performing Test C_WARN_NO_MISLEADING_INDENTATION - Failed
– Unsupported CFLAG: -Wno-misleading-indentation
– Performing Test C_WARN_NO_MISSING_VARIABLE_DECLARATIONS
– Performing Test C_WARN_NO_MISSING_VARIABLE_DECLARATIONS - Success
– Performing Test C_WARN_NO_INCOMPAT_PTR_DISCARD_QUAL
– Performing Test C_WARN_NO_INCOMPAT_PTR_DISCARD_QUAL - Success
– Performing Test C_WARN_NO_UNUSED_FUNCTION
– Performing Test C_WARN_NO_UNUSED_FUNCTION - Success
– Performing Test C_WARN_NO_INT_TO_VOID_POINTER_CAST
– Performing Test C_WARN_NO_INT_TO_VOID_POINTER_CAST - Success
– Performing Test C_WARN_NO_MISSING_PROTOTYPES
– Performing Test C_WARN_NO_MISSING_PROTOTYPES - Success
– Performing Test C_WARN_NO_DUPLICATE_ENUM
– Performing Test C_WARN_NO_DUPLICATE_ENUM - Success
– Performing Test C_WARN_NO_UNDEF
– Performing Test C_WARN_NO_UNDEF - Success
– Performing Test C_WARN_NO_MISSING_NORETURN
– Performing Test C_WARN_NO_MISSING_NORETURN - Success
– Performing Test CXX_WARN_NO_UNUSED_PARAMETER
– Performing Test CXX_WARN_NO_UNUSED_PARAMETER - Success
– Performing Test CXX_WARN_NO_UNUSED_PRIVATE_FIELD
– Performing Test CXX_WARN_NO_UNUSED_PRIVATE_FIELD - Success
– Performing Test CXX_WARN_NO_CXX11_NARROWING
– Performing Test CXX_WARN_NO_CXX11_NARROWING - Success
– Performing Test CXX_WARN_NO_NON_VIRTUAL_DTOR
– Performing Test CXX_WARN_NO_NON_VIRTUAL_DTOR - Success
– Performing Test CXX_WARN_NO_UNUSED_MACROS
– Performing Test CXX_WARN_NO_UNUSED_MACROS - Success
– Performing Test CXX_WARN_NO_UNUSED_VARIABLE
– Performing Test CXX_WARN_NO_UNUSED_VARIABLE - Success
– Performing Test CXX_WARN_NO_REORDER
– Performing Test CXX_WARN_NO_REORDER - Success
– Performing Test CXX_WARN_NO_COMMENT
– Performing Test CXX_WARN_NO_COMMENT - Success
– Performing Test CXX_WARN_NO_UNUSED_TYPEDEFS
– Performing Test CXX_WARN_NO_UNUSED_TYPEDEFS - Success
– Performing Test CXX_WARN_NO_UNDEFINED_VAR_TEMPLATE
– Performing Test CXX_WARN_NO_UNDEFINED_VAR_TEMPLATE - Success
– Performing Test CXX_WARN_NO_INSTANTIATION_AFTER_SPECIALIZATION
– Performing Test CXX_WARN_NO_INSTANTIATION_AFTER_SPECIALIZATION - Success
– Performing Test CXX_WARN_NO_MISLEADING_INDENTATION
– Performing Test CXX_WARN_NO_MISLEADING_INDENTATION - Failed
– Unsupported CXXFLAG: -Wno-misleading-indentation
– Performing Test C_MACRO_PREFIX_MAP
– Performing Test C_MACRO_PREFIX_MAP - Failed
– Unsupported CFLAG: -fmacro-prefix-map=foo=bar
– Performing Test CXX_MACRO_PREFIX_MAP
– Performing Test CXX_MACRO_PREFIX_MAP - Failed
– Unsupported CXXFLAG: -fmacro-prefix-map=foo=bar
CMake Warning at CMakeLists.txt:1745 (message):
-fmacro-prefix-map flag is NOT supported by C/C++ compiler. Disabling
WITH_COMPILER_SHORT_FILE_MACRO.

– Performing Test CXX_HAS_SSE
– Performing Test CXX_HAS_SSE - Success
– Performing Test CXX_HAS_AVX
– Performing Test CXX_HAS_AVX - Success
– Performing Test CXX_HAS_AVX2
– Performing Test CXX_HAS_AVX2 - Success
– Tests: Using Python executable: /Users/dup/blender-source/blender-git/…/lib/darwin/python/bin/python3.9
– Disabling render tests because tests folder does not exist at /Users/dup/blender-source/blender-git/…/lib/tests
– C Compiler: β€œAppleClang”
– C++ Compiler: β€œAppleClang”

Blender Configuration

Build Options:

  • WITH_ALEMBIC ON
  • WITH_BULLET ON
  • WITH_CYCLES ON
  • WITH_FFTW3 ON
  • WITH_FREESTYLE ON
  • WITH_GMP ON
  • WITH_HARU ON
  • WITH_IK_ITASC ON
  • WITH_IK_SOLVER ON
  • WITH_INPUT_NDOF ON
  • WITH_INTERNATIONAL ON
  • WITH_OPENCOLLADA ON
  • WITH_OPENCOLORIO ON
  • WITH_OPENIMAGEDENOISE ON
  • WITH_OPENVDB ON
  • WITH_POTRACE ON
  • WITH_PUGIXML ON
  • WITH_QUADRIFLOW ON
  • WITH_TBB ON
  • WITH_USD ON
  • WITH_XR_OPENXR OFF

Compiler Options:

  • WITH_BUILDINFO ON
  • WITH_OPENMP ON

System Options:

  • WITH_INSTALL_PORTABLE
  • WITH_MEM_JEMALLOC ON
  • WITH_MEM_VALGRIND OFF
  • WITH_SYSTEM_GLEW OFF
  • WITH_X11_ALPHA
  • WITH_X11_XF86VMODE
  • WITH_X11_XFIXES
  • WITH_X11_XINPUT

Image Formats:

  • WITH_IMAGE_CINEON ON
  • WITH_IMAGE_DDS ON
  • WITH_IMAGE_HDR ON
  • WITH_IMAGE_OPENEXR ON
  • WITH_IMAGE_OPENJPEG ON
  • WITH_IMAGE_TIFF ON
  • WITH_OPENIMAGEIO ON

Audio:

  • WITH_CODEC_AVI ON
  • WITH_CODEC_FFMPEG ON
  • WITH_CODEC_SNDFILE ON
  • WITH_JACK OFF
  • WITH_JACK_DYNLOAD
  • WITH_OPENAL ON
  • WITH_SDL ON
  • WITH_SDL_DYNLOAD

Compression:

  • WITH_LZMA ON
  • WITH_LZO ON

Python:

  • WITH_PYTHON_FRAMEWORK OFF
  • WITH_PYTHON_INSTALL ON
  • WITH_PYTHON_INSTALL_NUMPY ON
  • WITH_PYTHON_MODULE OFF
  • WITH_PYTHON_SAFETY OFF

Modifiers:

  • WITH_MOD_FLUID ON
  • WITH_MOD_OCEANSIM ON
  • WITH_MOD_REMESH ON

OpenGL:

  • WITH_GL_EGL OFF
  • WITH_GL_PROFILE_ES20 OFF
  • WITH_GLEW_ES OFF

– Configuring done
– Generating done
– Build files have been written to: /Users/dup/blender-source/build_darwin

I can’t find a way to make the build a success.

1 Like

@sebbas seems there is some problem in compiling Python 3.9 for the correct minimum macOS version. We try to pass -mmacosx-version-min to every library for compilation to avoid that.

Have no tested, but maybe the problem is that PYTHON_CONFIGURE_EXTRA_ENV replaces the CFLAGS/CXXFLAGS/LDFLAGS set by CONFIGURE_ENV, rather than appending to them.

Is this why I can not make the add ons to work on my computer?

@Thisisarobot @brecht

I’m getting the same issues. I filed a bug report a couple a days ago.

Feel free to chime in on it.

https://developer.blender.org/T85757

1 Like

That’s a different issue, the topic starter can’t even build blender let alone get to the point where enabling an addon could fail.

2 Likes

Great to know, I was alone and lost

1 Like

@brecht That is good to know. It seems -mmacosx-version-min was never being defined when building.

I have added the DEFAULT_CMAKE_FLAGS (which includes deployment target for macOS) here: https://developer.blender.org/D10498

1 Like

I applied the D10498 diff, unfortunately the error stays the same.
macOS 10.13.6
Python 3.9.2 (from MacPorts)

Just in case this helps. Thanks for looking into this.

After D10498 is committed, libraries will be built and uploaded to https://svn.blender.org and then you may try building Blender after running make update.
Libraries can be built locally too using build_files/build_environment/CMakeLists.txt [1] but don’t do it (:

Are you sure Blender is using Python from MacPorts installation directory ? There’s code to prevent such things from happening… Check python related variables in CMakeCache.txt.

[1] https://wiki.blender.org/wiki/Building_Blender/Dependencies

1 Like

Thanks for the info. I’ll try again tomorrow; I need every core for an about 12h render at the moment.

Regarding Python, my bad. I was under the impression that Blender is pulling Python from my machine. Sorry.

I cloned everything anew, β€˜make update’ and β€˜make’. Unfortunately, no dice.
Same error. I checked the discussion on https://developer.blender.org/D10498 and I guess there could be something else or completely different. My cmake is very rusty, so I’m of no great help, I’m afraid.

Beyond not being patient you’re not doing anything wrong, things that need to happen (and in this specific order) before you can build again:

  1. D10498 needs to land
  2. The MacOS platform maintainer needs to upload new python libraries to SVN
  3. You need to update your svn copy of our libraries

and then it should be all good again.

Problem currently is 1+2 have not happened yet, and 2 is kinda stalled until a decision is made on python 3.9.2

1 Like

Thank you, so I’ll just wait and see.

Just in case, will β€˜make update’ suffice or do I need to clone to be sure everything lands on my machine?

Thanks in advance,
Erik

make update will work once the new libs are available

1 Like

Great, thank you very much. Seriously!