Blender fails to build in Ubuntu 13.04 64bit because it misses an entry in make OPENEXR_ROOT_DIR #38373

Closed
opened 2014-01-27 13:50:44 +01:00 by Kilon Alios · 12 comments
Member

I am on Ubuntu 13.04 amd64 with GTX 650 and I was trying to build blender which failed with "/bin/sh: 1: ../../../../bin/datatoc: Permission denied" . After firing up cmake-gui it became apparent it could not found openexr and it required me to set OPENEXR_ROOT_DIR . So I did with the path /opt/lib/openexr.

It still complains it cant find OPENEXR but at least it now builds blender with no errors

I am on Ubuntu 13.04 amd64 with GTX 650 and I was trying to build blender which failed with "/bin/sh: 1: ../../../../bin/datatoc: Permission denied" . After firing up cmake-gui it became apparent it could not found openexr and it required me to set OPENEXR_ROOT_DIR . So I did with the path /opt/lib/openexr. It still complains it cant find OPENEXR but at least it now builds blender with no errors
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Author
Member

Added subscriber: @DimitrisChloupis

Added subscriber: @DimitrisChloupis

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Brecht Van Lommel self-assigned this 2014-01-27 14:16:57 +01:00

As mentioned on the bug report page, build issues are not handled through our bug tracker.

What not to report here

Feature requests, see the developer contact page
Items that are already on our To Do list
Compile or build issues, ask on #blendercoders or mail bf-committers

If you want to mail bf-committers with this, then you need to provide more information for others to investigate this. The datatoc permission denied error is unrelated to openexr (did you accidentally run part of the build process with sudo?). It's unclear how you initially created the cmake configuration, if you used install_deps.sh and followed the steps to set the configuration, etc, basically the exact steps you followed are important.

As mentioned on the bug report page, build issues are not handled through our bug tracker. > What not to report here > > Feature requests, see the developer contact page > Items that are already on our To Do list > Compile or build issues, ask on #blendercoders or mail bf-committers If you want to mail bf-committers with this, then you need to provide more information for others to investigate this. The datatoc permission denied error is unrelated to openexr (did you accidentally run part of the build process with sudo?). It's unclear how you initially created the cmake configuration, if you used install_deps.sh and followed the steps to set the configuration, etc, basically the exact steps you followed are important.
Author
Member

Note that using the the instructions in install_deps.sh ->
make -j4 BUILD_CMAKE_ARGS=" -D OPENCOLORIO_ROOT_DIR=/opt/lib/ocio -D OPENEXR_ROOT_DIR=/opt/lib/openexr -D OPENIMAGEIO_ROOT_DIR=/opt/lib/oiio -D WITH_CYCLES_OSL=ON -D WITH_LLVM=ON -D LLVM_VERSION=3.3 -D CYCLES_OSL=/opt/lib/osl -D LLVM_DIRECTORY=/opt/lib/llvm -D LLVM_STATIC=ON -D WITH_CODEC_FFMPEG=ON -D FFMPEG_LIBRARIES='avformat;avcodec;avutil;avdevice;swscale;rt;theoradec;theoraenc;theora;vorbisenc;vorbisfile;vorbis;ogg;x264;openjpeg' -D FFMPEG=/opt/lib/ffmpeg"

it still gives me new errors with OpenEXR

In file included from /opt/lib/osl/include/OSL/oslexec.h:32:0,

               from /home/exloupis/blender-git/blender/intern/cycles/bvh/../render/shader.h:29,
               from /home/exloupis/blender-git/blender/intern/cycles/bvh/../render/mesh.h:21,
               from /home/exloupis/blender-git/blender/intern/cycles/bvh/bvh.cpp:18:

/opt/lib/osl/include/OSL/oslconfig.h:47:30: fatal error: OpenEXR/ImathVec.h: No such file or directory
compilation terminated.

So I find it hard to believe that my problem is not related to OpenEXR. Not that I have much clue what I am doing.

I am sorry I cannot provide further info but I am new with make and a beginner C developer. I am mainly a python developer.

Note that using the the instructions in install_deps.sh -> make -j4 BUILD_CMAKE_ARGS=" -D OPENCOLORIO_ROOT_DIR=/opt/lib/ocio -D OPENEXR_ROOT_DIR=/opt/lib/openexr -D OPENIMAGEIO_ROOT_DIR=/opt/lib/oiio -D WITH_CYCLES_OSL=ON -D WITH_LLVM=ON -D LLVM_VERSION=3.3 -D CYCLES_OSL=/opt/lib/osl -D LLVM_DIRECTORY=/opt/lib/llvm -D LLVM_STATIC=ON -D WITH_CODEC_FFMPEG=ON -D FFMPEG_LIBRARIES='avformat;avcodec;avutil;avdevice;swscale;rt;theoradec;theoraenc;theora;vorbisenc;vorbisfile;vorbis;ogg;x264;openjpeg' -D FFMPEG=/opt/lib/ffmpeg" it still gives me new errors with OpenEXR In file included from /opt/lib/osl/include/OSL/oslexec.h:32:0, ``` from /home/exloupis/blender-git/blender/intern/cycles/bvh/../render/shader.h:29, from /home/exloupis/blender-git/blender/intern/cycles/bvh/../render/mesh.h:21, from /home/exloupis/blender-git/blender/intern/cycles/bvh/bvh.cpp:18: ``` /opt/lib/osl/include/OSL/oslconfig.h:47:30: fatal error: OpenEXR/ImathVec.h: No such file or directory compilation terminated. So I find it hard to believe that my problem is not related to OpenEXR. Not that I have much clue what I am doing. I am sorry I cannot provide further info but I am new with make and a beginner C developer. I am mainly a python developer.

This issue was referenced by blender/blender-addons-contrib@9e20d3e32a

This issue was referenced by blender/blender-addons-contrib@9e20d3e32aa27d10edbc835a2fa850ea5459dc9d

This issue was referenced by 9e20d3e32a

This issue was referenced by 9e20d3e32aa27d10edbc835a2fa850ea5459dc9d

Made a commit now that might fix this.

Made a commit now that might fix this.
Author
Member

Also sorry for missing the fact that bug tracker is not the proper place to report building problems . To my defence I did ask at #blendecoders and I have several people trying to help there lukas_t, troubled and others. We have been struggling with this issue for 3 hours now. . But none the less next time I wont post here :)

I also done nothing special to my Ubuntu setup, its the default one, I have not touched other than installing a few apps here and there. The only thing I did was to install via synaptic clang and llvm since they were not available by default in Ubuntu. Beyond that I am using standard paths, and followed the wiki instructions to the letter. But as I said I am very new to Ubuntu so I am not familiar with its internal as I am mainly a Macos developer.

Also sorry for missing the fact that bug tracker is not the proper place to report building problems . To my defence I did ask at #blendecoders and I have several people trying to help there lukas_t, troubled and others. We have been struggling with this issue for 3 hours now. . But none the less next time I wont post here :) I also done nothing special to my Ubuntu setup, its the default one, I have not touched other than installing a few apps here and there. The only thing I did was to install via synaptic clang and llvm since they were not available by default in Ubuntu. Beyond that I am using standard paths, and followed the wiki instructions to the letter. But as I said I am very new to Ubuntu so I am not familiar with its internal as I am mainly a Macos developer.

Added subscriber: @prologic

Added subscriber: @prologic

I'm having the same problem here, I'm also using Ubuntu. Did anyone find the solution to this problem?

I'm having the same problem here, I'm also using Ubuntu. Did anyone find the solution to this problem?

thx kilon, that helped. now i get segmentation fault when I try to run the blender executable.

thx kilon, that helped. now i get segmentation fault when I try to run the blender executable.
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#38373
No description provided.