Giter Club home page Giter Club logo

Comments (3)

JonCG90 avatar JonCG90 commented on July 20, 2024

The appears to happen when Aces Container is not installed.

In transform.cc there is a call to aces_write on line 834 which reads

if (!strncmp(image_format->ext, "aces", 3))
{

    aces_write(outputFile, output_scale,
               image_buffer.width(), image_buffer.height(), image_buffer.depth(),
               image_buffer.ptr(), image_format);
}

This function is implemented in aces_file.cc. The problem though is that the implementation is within a #define statement which reads:

#if defined( HAVE_ACESFILE )
#include <aces_Writer.h>
#include

void aces_write(const char *name, float scale,
uint32_t width, uint32_t height, uint32_t channels,
const float *pixels,
format_t *format) {

Therefore if HAVE_ACESFILE is not defined, then the compiler doesn't know where to link the source code for aces_write and fails.

from ctl.

kgboreham avatar kgboreham commented on July 20, 2024

There is a second definition of aces_write in the #else clause. It looks like it wasn't updated to match the current declaration. Change the "const void *pixels" to "const float *pixels" to fix this.

from ctl.

scottdyer avatar scottdyer commented on July 20, 2024

closed with #24

from ctl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.