<div dir="ltr"><div>Hello, <br></div><div>First off I have never compiled Krita before and I am not a hardcore programmer.</div><div><br></div><div>I tried tonight and tried to fix all of the dependency I could.</div><div><br></div><div>cmake seemed to finish fine but during make I ran into and error at 60%</div><div><br></div><div>I did compile and make opencolorio <br></div><div>but this is what I get for errors:</div><div><br></div><div>[ 60%] Building CXX object plugins/dockers/lut/CMakeFiles/kritalutdocker.dir/ocio_display_filter.cpp.o<br>/home/john/Downloads/kritadev/krita/plugins/dockers/lut/ocio_display_filter.cpp: In member function ‘bool OcioDisplayFilter::updateShaderImpl(F*)’:<br>/home/john/Downloads/kritadev/krita/plugins/dockers/lut/ocio_display_filter.cpp:352:16: error: ‘class OpenColorIO::v2_0dev::GpuShaderDesc’ has no member named ‘setLut3DEdgeLen’<br>     shaderDesc.setLut3DEdgeLen(lut3DEdgeSize);<br>                ^~~~~~~~~~~~~~~<br>/home/john/Downloads/kritadev/krita/plugins/dockers/lut/ocio_display_filter.cpp:356:61: error: ‘using element_type = const class OpenColorIO::v2_0dev::Processor’ {aka ‘const class OpenColorIO::v2_0dev::Processor’} has no member named ‘getGpuLut3DCacheID’; did you mean ‘getCpuCacheID’?<br>     QString lut3dCacheID = QString::fromLatin1(m_processor->getGpuLut3DCacheID(shaderDesc));<br>                                                             ^~~~~~~~~~~~~~~~~~<br>                                                             getCpuCacheID<br>/home/john/Downloads/kritadev/krita/plugins/dockers/lut/ocio_display_filter.cpp:360:22: error: ‘using element_type = const class OpenColorIO::v2_0dev::Processor’ {aka ‘const class OpenColorIO::v2_0dev::Processor’} has no member named ‘getGpuLut3D’<br>         m_processor->getGpuLut3D(&m_lut3d[0], shaderDesc);<br>                      ^~~~~~~~~~~<br>/home/john/Downloads/kritadev/krita/plugins/dockers/lut/ocio_display_filter.cpp:370:62: error: ‘using element_type = const class OpenColorIO::v2_0dev::Processor’ {aka ‘const class OpenColorIO::v2_0dev::Processor’} has no member named ‘getGpuShaderTextCacheID’; did you mean ‘getCpuCacheID’?<br>     QString shaderCacheID = QString::fromLatin1(m_processor->getGpuShaderTextCacheID(shaderDesc));<br>                                                              ^~~~~~~~~~~~~~~~~~~~~~~<br>                                                              getCpuCacheID<br>/home/john/Downloads/kritadev/krita/plugins/dockers/lut/ocio_display_filter.cpp:377:28: error: ‘using element_type = const class OpenColorIO::v2_0dev::Processor’ {aka ‘const class OpenColorIO::v2_0dev::Processor’} has no member named ‘getGpuShaderText’<br>         os << m_processor->getGpuShaderText(shaderDesc) << "\n";<br>                            ^~~~~~~~~~~~~~~~<br>/home/john/Downloads/kritadev/krita/plugins/dockers/lut/ocio_display_filter.cpp: In instantiation of ‘bool OcioDisplayFilter::updateShaderImpl(F*) [with F = QOpenGLFunctions_3_2_Core]’:<br>/home/john/Downloads/kritadev/krita/plugins/dockers/lut/ocio_display_filter.cpp:274:38:   required from here<br>/home/john/Downloads/kritadev/krita/plugins/dockers/lut/ocio_display_filter.cpp:341:25: error: ‘OpenColorIO::v2_0dev::GpuShaderDesc::GpuShaderDesc()’ is protected within this context<br>     OCIO::GpuShaderDesc shaderDesc;<br>                         ^~~~~~~~~~<br>In file included from /home/john/Downloads/kritadev/krita/plugins/dockers/lut/ocio_display_filter.h:22,<br>                 from /home/john/Downloads/kritadev/krita/plugins/dockers/lut/ocio_display_filter.cpp:18:<br>/usr/include/OpenColorIO/OpenColorIO.h:1673:9: note: declared protected here<br>         GpuShaderDesc();<br>         ^~~~~~~~~~~~~<br>/home/john/Downloads/kritadev/krita/plugins/dockers/lut/ocio_display_filter.cpp:341:25: error: cannot declare variable ‘shaderDesc’ to be of abstract type ‘OpenColorIO::v2_0dev::GpuShaderDesc’<br>     OCIO::GpuShaderDesc shaderDesc;<br>                         ^~~~~~~~~~<br>In file included from /home/john/Downloads/kritadev/krita/plugins/dockers/lut/ocio_display_filter.h:22,<br>                 from /home/john/Downloads/kritadev/krita/plugins/dockers/lut/ocio_display_filter.cpp:18:<br>/usr/include/OpenColorIO/OpenColorIO.h:1528:22: note:   because the following virtual functions are pure within ‘OpenColorIO::v2_0dev::GpuShaderDesc’:<br>     class OCIOEXPORT GpuShaderDesc<br>                      ^~~~~~~~~~~~~<br>/usr/include/OpenColorIO/OpenColorIO.h:1577:26: note:      ‘virtual unsigned int OpenColorIO::v2_0dev::GpuShaderDesc::getNumUniforms() const’<br>         virtual unsigned getNumUniforms() const = 0;<br>                          ^~~~~~~~~~~~~~<br>/usr/include/OpenColorIO/OpenColorIO.h:1578:22: note:        ‘virtual void OpenColorIO::v2_0dev::GpuShaderDesc::getUniform(unsigned int, const char*&, OpenColorIO::v2_0dev::DynamicPropertyRcPtr&) const’<br>         virtual void getUniform(unsigned index, const char *& name,<br>                      ^~~~~~~~~~<br>/usr/include/OpenColorIO/OpenColorIO.h:1580:22: note:    ‘virtual bool OpenColorIO::v2_0dev::GpuShaderDesc::addUniform(const char*, OpenColorIO::v2_0dev::DynamicPropertyRcPtr)’<br>         virtual bool addUniform(const char * name,<br>                      ^~~~~~~~~~<br>/usr/include/OpenColorIO/OpenColorIO.h:1584:26: note:       ‘virtual unsigned int OpenColorIO::v2_0dev::GpuShaderDesc::getTextureMaxWidth() const’<br>         virtual unsigned getTextureMaxWidth() const = 0;<br>                          ^~~~~~~~~~~~~~~~~~<br>/usr/include/OpenColorIO/OpenColorIO.h:1585:22: note:    ‘virtual void OpenColorIO::v2_0dev::GpuShaderDesc::setTextureMaxWidth(unsigned int)’<br>         virtual void setTextureMaxWidth(unsigned maxWidth) = 0;<br>                      ^~~~~~~~~~~~~~~~~~<br>/usr/include/OpenColorIO/OpenColorIO.h:1586:26: note:     ‘virtual unsigned int OpenColorIO::v2_0dev::GpuShaderDesc::getNumTextures() const’<br>         virtual unsigned getNumTextures() const = 0;<br>                          ^~~~~~~~~~~~~~<br>/usr/include/OpenColorIO/OpenColorIO.h:1587:22: note:        ‘virtual void OpenColorIO::v2_0dev::GpuShaderDesc::addTexture(const char*, const char*, unsigned int, unsigned int, OpenColorIO::v2_0dev::GpuShaderDesc::TextureType, OpenColorIO::v2_0dev::Interpolation, const float*)’<br>         virtual void addTexture(<br>                      ^~~~~~~~~~<br>/usr/include/OpenColorIO/OpenColorIO.h:1591:22: note:       ‘virtual void OpenColorIO::v2_0dev::GpuShaderDesc::getTexture(unsigned int, const char*&, const char*&, unsigned int&, unsigned int&, OpenColorIO::v2_0dev::GpuShaderDesc::TextureType&, OpenColorIO::v2_0dev::Interpolation&) const’<br>         virtual void getTexture(unsigned index, const char *& name, const char *& id,<br>                      ^~~~~~~~~~<br>/usr/include/OpenColorIO/OpenColorIO.h:1594:22: note:      ‘virtual void OpenColorIO::v2_0dev::GpuShaderDesc::getTextureValues(unsigned int, const float*&) const’<br>         virtual void getTextureValues(unsigned index, const float *& values) const = 0;<br>                      ^~~~~~~~~~~~~~~~<br>/usr/include/OpenColorIO/OpenColorIO.h:1597:26: note:    ‘virtual unsigned int OpenColorIO::v2_0dev::GpuShaderDesc::getNum3DTextures() const’<br>         virtual unsigned getNum3DTextures() const = 0;<br>                          ^~~~~~~~~~~~~~~~<br>/usr/include/OpenColorIO/OpenColorIO.h:1598:22: note:  ‘virtual void OpenColorIO::v2_0dev::GpuShaderDesc::add3DTexture(const char*, const char*, unsigned int, OpenColorIO::v2_0dev::Interpolation, const float*)’<br>         virtual void add3DTexture(const char * name, const char * id, unsigned edgelen,<br>                      ^~~~~~~~~~~~<br>/usr/include/OpenColorIO/OpenColorIO.h:1600:22: note:    ‘virtual void OpenColorIO::v2_0dev::GpuShaderDesc::get3DTexture(unsigned int, const char*&, const char*&, unsigned int&, OpenColorIO::v2_0dev::Interpolation&) const’<br>         virtual void get3DTexture(unsigned index, const char *& name, const char *& id,<br>                      ^~~~~~~~~~~~<br>/usr/include/OpenColorIO/OpenColorIO.h:1602:22: note:  ‘virtual void OpenColorIO::v2_0dev::GpuShaderDesc::get3DTextureValues(unsigned int, const float*&) const’<br>         virtual void get3DTextureValues(unsigned index, const float *& values) const = 0;<br>                      ^~~~~~~~~~~~~~~~~~<br>/usr/include/OpenColorIO/OpenColorIO.h:1646:22: note:      ‘virtual void OpenColorIO::v2_0dev::GpuShaderDesc::addToDeclareShaderCode(const char*)’<br>         virtual void addToDeclareShaderCode(const char * shaderCode) = 0;<br>                      ^~~~~~~~~~~~~~~~~~~~~~<br>/usr/include/OpenColorIO/OpenColorIO.h:1647:22: note:    ‘virtual void OpenColorIO::v2_0dev::GpuShaderDesc::addToHelperShaderCode(const char*)’<br>         virtual void addToHelperShaderCode(const char * shaderCode) = 0;<br>                      ^~~~~~~~~~~~~~~~~~~~~<br>/usr/include/OpenColorIO/OpenColorIO.h:1648:22: note:       ‘virtual void OpenColorIO::v2_0dev::GpuShaderDesc::addToFunctionHeaderShaderCode(const char*)’<br>         virtual void addToFunctionHeaderShaderCode(const char * shaderCode) = 0;<br>                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>/usr/include/OpenColorIO/OpenColorIO.h:1649:22: note:       ‘virtual void OpenColorIO::v2_0dev::GpuShaderDesc::addToFunctionShaderCode(const char*)’<br>         virtual void addToFunctionShaderCode(const char * shaderCode) = 0;<br>                      ^~~~~~~~~~~~~~~~~~~~~~~<br>/usr/include/OpenColorIO/OpenColorIO.h:1650:22: note:         ‘virtual void OpenColorIO::v2_0dev::GpuShaderDesc::addToFunctionFooterShaderCode(const char*)’<br>         virtual void addToFunctionFooterShaderCode(const char * shaderCode) = 0;<br>                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>/usr/include/OpenColorIO/OpenColorIO.h:1660:22: note:       ‘virtual void OpenColorIO::v2_0dev::GpuShaderDesc::createShaderText(const char*, const char*, const char*, const char*, const char*)’<br>         virtual void createShaderText(<br>                      ^~~~~~~~~~~~~~~~<br>/usr/include/OpenColorIO/OpenColorIO.h:1666:30: note:       ‘virtual const char* OpenColorIO::v2_0dev::GpuShaderDesc::getShaderText() const’<br>         virtual const char * getShaderText() const = 0;<br>                              ^~~~~~~~~~~~~<br>/usr/include/OpenColorIO/OpenColorIO.h:1669:22: note:  ‘virtual void OpenColorIO::v2_0dev::GpuShaderDesc::finalize()’<br>         virtual void finalize() = 0;<br>                      ^~~~~~~~<br>/home/john/Downloads/kritadev/krita/plugins/dockers/lut/ocio_display_filter.cpp:341:25: error: ‘virtual OpenColorIO::v2_0dev::GpuShaderDesc::~GpuShaderDesc()’ is protected within this context<br>     OCIO::GpuShaderDesc shaderDesc;<br>                         ^~~~~~~~~~<br>In file included from /home/john/Downloads/kritadev/krita/plugins/dockers/lut/ocio_display_filter.h:22,<br>                 from /home/john/Downloads/kritadev/krita/plugins/dockers/lut/ocio_display_filter.cpp:18:<br>/usr/include/OpenColorIO/OpenColorIO.h:1675:17: note: declared protected here<br>         virtual ~GpuShaderDesc();<br>                 ^<br>/home/john/Downloads/kritadev/krita/plugins/dockers/lut/ocio_display_filter.cpp: In instantiation of ‘bool OcioDisplayFilter::updateShaderImpl(F*) [with F = QOpenGLFunctions_3_0]’:<br>/home/john/Downloads/kritadev/krita/plugins/dockers/lut/ocio_display_filter.cpp:287:38:   required from here<br>/home/john/Downloads/kritadev/krita/plugins/dockers/lut/ocio_display_filter.cpp:341:25: error: ‘OpenColorIO::v2_0dev::GpuShaderDesc::GpuShaderDesc()’ is protected within this context<br>     OCIO::GpuShaderDesc shaderDesc;<br>                         ^~~~~~~~~~<br>In file included from /home/john/Downloads/kritadev/krita/plugins/dockers/lut/ocio_display_filter.h:22,<br>                 from /home/john/Downloads/kritadev/krita/plugins/dockers/lut/ocio_display_filter.cpp:18:<br>/usr/include/OpenColorIO/OpenColorIO.h:1673:9: note: declared protected here<br>         GpuShaderDesc();<br>         ^~~~~~~~~~~~~<br>/home/john/Downloads/kritadev/krita/plugins/dockers/lut/ocio_display_filter.cpp:341:25: error: cannot declare variable ‘shaderDesc’ to be of abstract type ‘OpenColorIO::v2_0dev::GpuShaderDesc’<br>     OCIO::GpuShaderDesc shaderDesc;<br>                         ^~~~~~~~~~<br>/home/john/Downloads/kritadev/krita/plugins/dockers/lut/ocio_display_filter.cpp:341:25: error: ‘virtual OpenColorIO::v2_0dev::GpuShaderDesc::~GpuShaderDesc()’ is protected within this context<br>In file included from /home/john/Downloads/kritadev/krita/plugins/dockers/lut/ocio_display_filter.h:22,<br>                 from /home/john/Downloads/kritadev/krita/plugins/dockers/lut/ocio_display_filter.cpp:18:<br>/usr/include/OpenColorIO/OpenColorIO.h:1675:17: note: declared protected here<br>         virtual ~GpuShaderDesc();<br>                 ^<br>/home/john/Downloads/kritadev/krita/plugins/dockers/lut/ocio_display_filter.cpp: In instantiation of ‘bool OcioDisplayFilter::updateShaderImpl(F*) [with F = QOpenGLExtraFunctions]’:<br>/home/john/Downloads/kritadev/krita/plugins/dockers/lut/ocio_display_filter.cpp:293:34:   required from here<br>/home/john/Downloads/kritadev/krita/plugins/dockers/lut/ocio_display_filter.cpp:341:25: error: ‘OpenColorIO::v2_0dev::GpuShaderDesc::GpuShaderDesc()’ is protected within this context<br>     OCIO::GpuShaderDesc shaderDesc;<br>                         ^~~~~~~~~~<br>In file included from /home/john/Downloads/kritadev/krita/plugins/dockers/lut/ocio_display_filter.h:22,<br>                 from /home/john/Downloads/kritadev/krita/plugins/dockers/lut/ocio_display_filter.cpp:18:<br>/usr/include/OpenColorIO/OpenColorIO.h:1673:9: note: declared protected here<br>         GpuShaderDesc();<br>         ^~~~~~~~~~~~~<br>/home/john/Downloads/kritadev/krita/plugins/dockers/lut/ocio_display_filter.cpp:341:25: error: cannot declare variable ‘shaderDesc’ to be of abstract type ‘OpenColorIO::v2_0dev::GpuShaderDesc’<br>     OCIO::GpuShaderDesc shaderDesc;<br>                         ^~~~~~~~~~<br>/home/john/Downloads/kritadev/krita/plugins/dockers/lut/ocio_display_filter.cpp:341:25: error: ‘virtual OpenColorIO::v2_0dev::GpuShaderDesc::~GpuShaderDesc()’ is protected within this context<br>In file included from /home/john/Downloads/kritadev/krita/plugins/dockers/lut/ocio_display_filter.h:22,<br>                 from /home/john/Downloads/kritadev/krita/plugins/dockers/lut/ocio_display_filter.cpp:18:<br>/usr/include/OpenColorIO/OpenColorIO.h:1675:17: note: declared protected here<br>         virtual ~GpuShaderDesc();<br>                 ^<br>make[2]: *** [plugins/dockers/lut/CMakeFiles/kritalutdocker.dir/build.make:93: plugins/dockers/lut/CMakeFiles/kritalutdocker.dir/ocio_display_filter.cpp.o] Error 1<br>make[1]: *** [CMakeFiles/Makefile2:26246: plugins/dockers/lut/CMakeFiles/kritalutdocker.dir/all] Error 2<br>make: *** [Makefile:141: all] Error 2</div><div><br></div><div><br></div><div>Thanks</div><div>John<br></div><div><div><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">'look around, what is here is more than good.  It's amazing, and it's beautiful."-- Lucretius<br></div></div></div></div>