Building on Ubuntu 12.04 : libjpeg / libtiff problems #31517

Closed
opened 2012-05-18 13:20:36 +02:00 by Mickaël Guédon · 3 comments

%%%Hey, so here it is, there is a dependency problem with libjpeg on the last Ubuntu 12.04. The problem is that libtiff4-dev is mandatory for building Blender, and Ubuntu doen't want it to be installed with libjpeg62-dev. It compiles fine with the default libjpeg-dev provided through repositories, but the thing is that Cycles can't load correctly jpeg textures and of course shows a black texture instead. This is the only bug I've found about it for now, but maybe there are more.

So either you correct the Cycles jpeg loading to make it compatible, or either you add libjpeg-dev to a static lib directory in the Blender source that could be loaded. I don't know, I'm not a coder after all :).

My specs : Ubuntu Linux 12.04 x64 / GTX 460 / using the last svn trunk and self building.
This guy got the problem too : http://blenderartists.org/forum/showthread.php?253191-Ubuntu-12.04&p=2114323&viewfull=1#post2114323

Thanks for your support !%%%

%%%Hey, so here it is, there is a dependency problem with libjpeg on the last Ubuntu 12.04. The problem is that libtiff4-dev is mandatory for building Blender, and Ubuntu doen't want it to be installed with libjpeg62-dev. It compiles fine with the default libjpeg-dev provided through repositories, but the thing is that Cycles can't load correctly jpeg textures and of course shows a black texture instead. This is the only bug I've found about it for now, but maybe there are more. So either you correct the Cycles jpeg loading to make it compatible, or either you add libjpeg-dev to a static lib directory in the Blender source that could be loaded. I don't know, I'm not a coder after all :). My specs : Ubuntu Linux 12.04 x64 / GTX 460 / using the last svn trunk and self building. This guy got the problem too : http://blenderartists.org/forum/showthread.php?253191-Ubuntu-12.04&p=2114323&viewfull=1#post2114323 Thanks for your support !%%%

Changed status to: 'Open'

Changed status to: 'Open'

%%%We've been looking already into the problem of missed jpeg textures in cycles. This is caused by differences of libraries used to build OIIO library which is distributing via our svn and libraries which are used by ubuntu. The only proper solution is to re-build OIIO for particular version ubuntu or use some kind of PPA and do not use OIIO libraries from our svn.
It seems to be brief instruction how to compile OIIO there http://wiki.blender.org/index.php/Dev:2.6/Source/Render/Cycles/Building
As soon as it's compiled and installed, use OPENIMAGEIO_ROOT_DIR in cmake to point to your version of OIIO, or in case of scons use BF_OIIO to point to that location.

Since it might help in some cases to have all libs in our SVN needed for compilation, but since versions of libraries used by different distributes are completely different it's really tricky to make precompiled libraries working well. And since it's not difficult at all to compile needed libraries for newer linux, i'd rather keep that libraries to help compiling on platforms when it's really tricky to compile libraries yourself.

Anyway, bug tracker is not best place to discuss particular build environment issues, but feel free to contact us in irc or mailing list http://wiki.blender.org/index.php/Dev:Doc/Contact%%%

%%%We've been looking already into the problem of missed jpeg textures in cycles. This is caused by differences of libraries used to build OIIO library which is distributing via our svn and libraries which are used by ubuntu. The only proper solution is to re-build OIIO for particular version ubuntu or use some kind of PPA and do not use OIIO libraries from our svn. It seems to be brief instruction how to compile OIIO there http://wiki.blender.org/index.php/Dev:2.6/Source/Render/Cycles/Building As soon as it's compiled and installed, use OPENIMAGEIO_ROOT_DIR in cmake to point to your version of OIIO, or in case of scons use BF_OIIO to point to that location. Since it might help in some cases to have all libs in our SVN needed for compilation, but since versions of libraries used by different distributes are completely different it's really tricky to make precompiled libraries working well. And since it's not difficult at all to compile needed libraries for newer linux, i'd rather keep that libraries to help compiling on platforms when it's really tricky to compile libraries yourself. Anyway, bug tracker is not best place to discuss particular build environment issues, but feel free to contact us in irc or mailing list http://wiki.blender.org/index.php/Dev:Doc/Contact%%%

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
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#31517
No description provided.