install_deps.sh generating wrong make flag for OSL #40025

Closed
opened 2014-05-04 20:28:37 +02:00 by Georg K · 6 comments

System Information
Ubuntu 14.04, Radeon HD7770

Blender Version
current git, Hash: 2a3cdea

Short description of error
install_deps.sh generates wrong OSL flag/parameter for cmake/make.

Exact steps for others to reproduce the error
Calling install_deps.sh with --skip_osl, the script will return

  • D WITH_CYCLES_OSL=ON

which leads to a make compile error:

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
OSL_INCLUDES (ADVANCED)
   used as include directory in directory /home/georg/Programme/blender-git/blender/intern/cycles/blender
   used as include directory in directory /home/georg/Programme/blender-git/blender/intern/cycles/bvh
   used as include directory in directory /home/georg/Programme/blender-git/blender/intern/cycles/device
   used as include directory in directory /home/georg/Programme/blender-git/blender/intern/cycles/kernel
   used as include directory in directory /home/georg/Programme/blender-git/blender/intern/cycles/kernel/osl
   used as include directory in directory /home/georg/Programme/blender-git/blender/intern/cycles/kernel/shaders
   used as include directory in directory /home/georg/Programme/blender-git/blender/intern/cycles/render
   used as include directory in directory /home/georg/Programme/blender-git/blender/intern/cycles/subd
   used as include directory in directory /home/georg/Programme/blender-git/blender/intern/cycles/util
OSL_LIB_COMP (ADVANCED)
    linked by target "blender" in directory /home/georg/Programme/blender-git/blender/source/creator
OSL_LIB_EXEC (ADVANCED)
    linked by target "blender" in directory /home/georg/Programme/blender-git/blender/source/creator
OSL_LIB_QUERY (ADVANCED)
    linked by target "blender" in directory /home/georg/Programme/blender-git/blender/source/creator

Might have something to do with install_deps.sh line 2946, where "-D WITH_CYCLES_OSL=ON" is always set, ignoring that I called (had to) install_deps with --skip_osl

**System Information** Ubuntu 14.04, Radeon HD7770 **Blender Version** current git, Hash: 2a3cdea **Short description of error** install_deps.sh generates wrong OSL flag/parameter for cmake/make. **Exact steps for others to reproduce the error** Calling install_deps.sh with --skip_osl, the script will return - D WITH_CYCLES_OSL=ON which leads to a make compile error: ``` CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: OSL_INCLUDES (ADVANCED) used as include directory in directory /home/georg/Programme/blender-git/blender/intern/cycles/blender used as include directory in directory /home/georg/Programme/blender-git/blender/intern/cycles/bvh used as include directory in directory /home/georg/Programme/blender-git/blender/intern/cycles/device used as include directory in directory /home/georg/Programme/blender-git/blender/intern/cycles/kernel used as include directory in directory /home/georg/Programme/blender-git/blender/intern/cycles/kernel/osl used as include directory in directory /home/georg/Programme/blender-git/blender/intern/cycles/kernel/shaders used as include directory in directory /home/georg/Programme/blender-git/blender/intern/cycles/render used as include directory in directory /home/georg/Programme/blender-git/blender/intern/cycles/subd used as include directory in directory /home/georg/Programme/blender-git/blender/intern/cycles/util OSL_LIB_COMP (ADVANCED) linked by target "blender" in directory /home/georg/Programme/blender-git/blender/source/creator OSL_LIB_EXEC (ADVANCED) linked by target "blender" in directory /home/georg/Programme/blender-git/blender/source/creator OSL_LIB_QUERY (ADVANCED) linked by target "blender" in directory /home/georg/Programme/blender-git/blender/source/creator ``` Might have something to do with install_deps.sh line 2946, where "-D WITH_CYCLES_OSL=ON" is always set, ignoring that I called (had to) install_deps with --skip_osl
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @georgK

Added subscriber: @georgK
Bastien Montagne self-assigned this 2014-05-04 20:58:33 +02:00

This issue was referenced by blender/blender-addons-contrib@f7aac45488

This issue was referenced by blender/blender-addons-contrib@f7aac45488c40b047235a7fe3f8807409aa5989c

This issue was referenced by f7aac45488

This issue was referenced by f7aac45488c40b047235a7fe3f8807409aa5989c

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

Closed by commit f7aac45488.

Closed by commit f7aac45488.
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
3 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#40025
No description provided.