Inapproriate dependencies #55136

Closed
opened 2018-05-20 20:02:38 +02:00 by Takahiro Komatsu · 6 comments

System Information
OS: ubuntu 16.04 LTS
GPU: GTX 950M

Blender Version
Compiling d712dd2 from source

Short description of error
When I tried to compile blender from source, it did not compile even after I ran ./blender/build_files/build_environment/install_deps.sh.

After sudo apt install libpng12-dev and sudo apt install libjpeg9-dev installation, it compiled and ran so I reckon the dependencies are inappropriate.

**System Information** OS: ubuntu 16.04 LTS GPU: GTX 950M **Blender Version** Compiling d712dd2 from source **Short description of error** When I tried to compile blender from source, it did not compile even after I ran `./blender/build_files/build_environment/install_deps.sh`. After `sudo apt install libpng12-dev` and `sudo apt install libjpeg9-dev` installation, it compiled and ran so I reckon the dependencies are inappropriate.
Author
Member

Added subscriber: @TakahiroKomatsu

Added subscriber: @TakahiroKomatsu

Added subscriber: @ArtoKitula

Added subscriber: @ArtoKitula

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Arto Kitula self-assigned this 2018-05-20 20:41:47 +02:00

But tracker is just for bugs, not for building support. Archiving this for that reason.

In meantime I want to be kind and advice you to check out what my docker image does: https://github.com/djazo/blender-docker
From dockerfile you can find what is needed by system itself, and then there is cmake build magic done on entrypoint.sh to do what install_deps.sh does. If you use that, the dependency libs aren't "polluting" your system, and you don't have any version mismatch. (that cmake thingie is used to build macOS & Windows libs)

But tracker is just for bugs, not for building support. Archiving this for that reason. In meantime I want to be kind and advice you to check out what my docker image does: https://github.com/djazo/blender-docker From dockerfile you can find what is needed by system itself, and then there is cmake build magic done on entrypoint.sh to do what install_deps.sh does. If you use that, the dependency libs aren't "polluting" your system, and you don't have any version mismatch. (that cmake thingie is used to build macOS & Windows libs)
Author
Member

Thanks for the reply. In practice, I solve the problme myself and don't need any "building support". I just thought the struggle I experienced was because of some kind of bug in install_deps.sh(like, it does not install required libraries)

So, if I understand you right, this did not reproduce in your docker image?

Thanks for the reply. In practice, I solve the problme myself and don't need any "building support". I just thought the struggle I experienced was because of some kind of bug in `install_deps.sh`(like, it does not install required libraries) So, if I understand you right, this did not reproduce in your docker image?

Purpose of the docker image and the cmake is just to simpify things and isolate most of the dependencies from the system libs. install_deps.sh is not used at all. That makes linux, macOS and windows building more 1:1 =)

No, I haven't been able to reproduce this on vanilla ubuntu, or docker image. Will look into that more, though. Your report is noted, thanks! =)

Purpose of the docker image and the cmake is just to simpify things and isolate most of the dependencies from the system libs. install_deps.sh is not used at all. That makes linux, macOS and windows building more 1:1 =) No, I haven't been able to reproduce this on vanilla ubuntu, or docker image. Will look into that more, though. Your report is noted, thanks! =)
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#55136
No description provided.