Impossible to build blender on mac #52935

Closed
opened 2017-09-28 14:15:01 +02:00 by Tycho Tatitsccheff · 6 comments

System Information

image.png

Blender Version
Broken: 5c6e3ff497

Short description of error

Cmake configure fails

Exact steps for others to reproduce the error

  • I cloned blender
mkdir ~/blender-build
cd ~/blender-build
git clone http://git.blender.org/blender.git
cd blender
git submodule update --init --recursive
git submodule foreach git checkout master
git submodule foreach git pull --rebase origin master
  • I cloned the lib from svn
cd ~/blender-build
mkdir lib
cd lib
svn checkout https://svn.blender.org/svnroot/bf-blender/trunk/lib/darwin-9.x.universal
  • I opened blender directory on Clion

  • Configuring failed, as python3.6 was not found

  - OSX_SYSROOT_PREFIX: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
CMake Error at build_files/cmake/platform/platform_apple.cmake:124 (message):

Python executable missing:
/Users/tychotatitscheff/Code/build/blender/../lib/darwin-9.x.universal/python/bin/python3.6m

Call Stack (most recent call first):

CMakeLists.txt:850 (include)

Related commit

  • Make te move from python3.5 to python 3.6 : 46300a541d

Cause hypothesis

Solutions

Either:

**System Information** ![image.png](https://archive.blender.org/developer/F901514/image.png) **Blender Version** Broken: 5c6e3ff4972f9485409f7d37e3752917d44e0f3c **Short description of error** Cmake configure fails **Exact steps for others to reproduce the error** - I cloned blender ```lang=bash mkdir ~/blender-build cd ~/blender-build git clone http://git.blender.org/blender.git cd blender git submodule update --init --recursive git submodule foreach git checkout master git submodule foreach git pull --rebase origin master ``` - I cloned the lib from svn ```lang=bash cd ~/blender-build mkdir lib cd lib svn checkout https://svn.blender.org/svnroot/bf-blender/trunk/lib/darwin-9.x.universal ``` - I opened blender directory on Clion - Configuring failed, as python3.6 was not found ```lang=make - OSX_SYSROOT_PREFIX: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform CMake Error at build_files/cmake/platform/platform_apple.cmake:124 (message): ``` Python executable missing: /Users/tychotatitscheff/Code/build/blender/../lib/darwin-9.x.universal/python/bin/python3.6m ``` Call Stack (most recent call first): ``` CMakeLists.txt:850 (include) ``` ``` **Related commit** - Make te move from python3.5 to python 3.6 : 46300a541d **Cause hypothesis** - I cloned `darwin-9.x.universal`, as the wiki says (https://wiki.blender.org/index.php/Dev:Doc/Building_Blender/Mac) - `darwin-9.x.universal` has not been updated for python 3.6 (https://developer.blender.org/diffusion/BL/browse/trunk/lib/darwin-9.x.universal/python/bin/) - while - `darwin` has (https://developer.blender.org/diffusion/BL/browse/trunk/lib/darwin/python/bin/) **Solutions** Either: - update the doc - update {rBL}, platform `darwin-9.x.universal` with the python3.6 - change https://developer.blender.org/diffusion/B/browse/master/build_files/cmake/platform/platform_apple.cmake;9ddee885aea4d026bb0409a51a137706c95d318b$91 back to 3.5

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @TychoTat

Added subscriber: @TychoTat

Added subscriber: @brecht

Added subscriber: @brecht

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Brecht Van Lommel self-assigned this 2017-09-28 15:15:43 +02:00

Thanks, I've updated the documentation now, we'll do some further improvements in D2861.

Thanks, I've updated the documentation now, we'll do some further improvements in [D2861](https://archive.blender.org/developer/D2861).

Thank you @brecht !

Thank you @brecht !
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#52935
No description provided.