make deps documentation #69297

Closed
opened 2019-08-29 15:28:49 +02:00 by Dalai Felinto · 8 comments

We need to document (online or in the repo/cmake/...) the dependencies of make deps.

For instance, at the moment in Ubuntu if you try to build without tclsh it fails due to sqlite3. But you only get the proper warning in the first time you run it.

This is regardless of whether we should integrate install_deps.sh and make deps in the future.

We need to document (online or in the repo/cmake/...) the dependencies of `make deps`. For instance, at the moment in Ubuntu if you try to build without tclsh it fails due to sqlite3. But you only get the proper warning in the first time you run it. This is regardless of whether we should integrate `install_deps.sh` and `make deps` in the future.
Author
Owner

Added subscriber: @dfelinto

Added subscriber: @dfelinto

Added subscriber: @brecht

Added subscriber: @brecht
Note we have: https://wiki.blender.org/wiki/Building_Blender/Dependencies Which links here: https://developer.blender.org/diffusion/B/browse/master/build_files/build_environment/CMakeLists.txt But there's no way to discover this when you just run "make deps".
Member

Added subscriber: @LazyDodo

Added subscriber: @LazyDodo
Member

There are a bunch of build time deps that 'make deps' has, like tclsh , nasm,yasm etc, if they are missing when the build starts, it's very hard for the average user to get 'unstuck' after it breaks and dies, and they install the missing deps since you have to remove the build folder for sqllite for instance for it to look for tclsh again.

Also since we do multi threaded builds, the actual error is generally long scrolled out of the screen when cmake decides to call it quits confusing even more users.

It's probably best if we implement a pre-flight check in cmake that checks for the required dependencies and errors out preemptively

There are a bunch of build time deps that 'make deps' has, like tclsh , nasm,yasm etc, if they are missing when the build starts, it's very hard for the average user to get 'unstuck' after it breaks and dies, and they install the missing deps since you have to remove the build folder for sqllite for instance for it to look for tclsh again. Also since we do multi threaded builds, the actual error is generally long scrolled out of the screen when cmake decides to call it quits confusing even more users. It's probably best if we implement a pre-flight check in cmake that checks for the required dependencies and errors out preemptively
Author
Owner

Indeed in the CMake files it says: "# Install compiler cmake autoconf automake libtool yasm nasm tcl"
So technically yes the issue here is not documentation per-se.

Maybe a simple solution would be to suggest "users" to look at the CMakeLists.txt file for instructions if CMake exists with error.

Indeed in the CMake files it says: "# Install compiler cmake autoconf automake libtool yasm nasm tcl" So technically yes the issue here is not documentation per-se. Maybe a simple solution would be to suggest "users" to look at the CMakeLists.txt file for instructions if CMake exists with error.

This issue was referenced by cc49644551

This issue was referenced by cc496445518d752d2a2bdad25d7c48115cacd659

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Brecht Van Lommel self-assigned this 2019-08-30 11:22:27 +02:00
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
4 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#69297
No description provided.