I have problems using the precompiled dependencies when integrating Cycles into my application

Hi guys and gals, I’m currently writing a small application and I want to integrate Cycles into it. I added some cmake to fetch the repository and also add precompiled dependencies. I try to mimic what is written in the diffusion of Cycles. I fetch the repository then place the dependencies in the lib folder next to Cycles source. The structure is as follows on my computer:

+--- build
     +--- _deps
           +--- cycles-src
           |      |
           |      +--- examples
           |      |
           |      +--- src
           |      ...
           +--- cycles-subbuild
           +--- lib
                  +--- linux_centos7_x86_64
                        +--- alembic
                        +--- blosc
                        +--- boost

I’m using the following cmake to do so:

# first declare cycles and get properties
set(NAME cycles)
    GIT_REPOSITORY git://git.blender.org/cycles.git
    GIT_TAG        v1.11.0
set(${NAME}_POP 0)

# then populate, get dependencies and add cycles to cmake

    # checkout dependencies of cycles
    file(MAKE_DIRECTORY ${${NAME}_SOURCE_DIR}/../lib)
    execute_process(COMMAND svn checkout -r 62534 https://svn.blender.org/svnroot/bf-blender/trunk/lib/linux_centos7_x86_64/  WORKING_DIRECTORY ${${NAME}_SOURCE_DIR}/../lib)

    add_subdirectory(${${NAME}_SOURCE_DIR} ${${NAME}_BINARY_DIR})

Upon running cmake on my project I get the following error: Could NOT find OpenImageIO.
I searched in the Cycles repository for the path linux_centos7_x86_64 but cannot find it.

  • How is this then implemented?
  • Is it even possible to use these precompiled binaries?

Any help appreciated! Thanks in advance.

Are you using latest master?

src/cmake/external_libs.cmake has linux_centos7_x86_64.

I’m using Cycles v1.11.0 tag and revision 62534 of the dependencies.
I just saw that the latest git tag is from january … it doesn’t have linux_centos7_x86_64 in the cmake file. Thanks for the hint.