Skip to content

Graph editor fails to compile with OCIO enabled #2750

@sambler

Description

@sambler

When I build with graph editor and ocio enabled, I get a compile error as mx::OcioColorManagementSystem doesn't exist.

I fixed the build by choosing between ColorManagement headers

#ifdef MATERIALX_BUILD_OCIO
#include <MaterialXGenShader/OcioColorManagementSystem.h>
#else
#include <MaterialXGenShader/DefaultColorManagementSystem.h>
#endif

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions