olive-editor / olive

Free open-source non-linear video editor
https://olivevideoeditor.org/
GNU General Public License v3.0
7.99k stars 542 forks source link

[BUILD] Build fails with opencolorio-2.3.2: error: too few arguments to function call, expected 8, have 7 #2334

Closed yurivict closed 3 weeks ago

yurivict commented 3 weeks ago

Commit Hash f7e1bff

Platform FreeBSD 14.1/amd64

Summary Build fails:

/usr/ports/multimedia/olive/work/olive-f7e1bff/app/render/renderer.cpp:245:95: error: too few arguments to function call, expected 8, have 7
  245 |       shader_desc->getTexture(i, tex_name, sampler_name, width, height, channel, interpolation);
      |       ~~~~~~~~~~~~~~~~~~~~~~~                                                                 ^
/usr/local/include/OpenColorIO/OpenColorIO.h:3538:18: note: 'getTexture' declared here
 3538 |     virtual void getTexture(unsigned index,
      |                  ^          ~~~~~~~~~~~~~~~
 3539 |                             const char *& textureName,
      |                             ~~~~~~~~~~~~~~~~~~~~~~~~~~
 3540 |                             const char *& samplerName,
      |                             ~~~~~~~~~~~~~~~~~~~~~~~~~~
 3541 |                             unsigned & width,
      |                             ~~~~~~~~~~~~~~~~~
 3542 |                             unsigned & height,
      |                             ~~~~~~~~~~~~~~~~~~
 3543 |                             TextureType & channel,
      |                             ~~~~~~~~~~~~~~~~~~~~~~
 3544 |                             TextureDimensions & dimensions,
      |                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 3545 |                             Interpolation & interpolation) const = 0;
      |                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

Additional Information / Output

Simran-B commented 3 weeks ago

Duplicate of https://github.com/olive-editor/olive/issues/2284, see PR #2294