On Tue, Nov 18, 2025 at 8:19 PM Rob Prowel <[email protected]> wrote:
Please help me to understand why.
This is my make-config and I'm building from scratch on Debian-13(trixie). I've re-run autoconf and aclocal to support the newer macros/features. Also note that I'm leveraging the distro libraries over the in-source thirdparty ones. I have sucessfully built this way several years ago.
----------------------------------------------- #! /bin/bash
CUDA_PATH=/usr \ ./configure \ --prefix=/sharebin/cingg2511 \ --with-cuda \ --with-nv \ --with-gl \ --with-xv \ --with-jobs=8 \ --with-alsa \ --enable-audiofile \ --with-thirdparty=no -----------------------------------------------
build fails due to function redeclaration of
int GifQuantizeBuffer(unsigned int Width, unsigned int Height, int *ColorMapSize, GifByteType * RedInput, GifByteType * GreenInput, GifByteType * BlueInput, GifByteType * OutputBuffer, GifColorType * OutputColorMap);
in filegif.h and filegif.C...but this method also exists in the thirdparty library giflib. The reason it fails is that in the library the pointers are const (as they should be) but in the duplicated code under cinelerra directory they are not...and simply adding const in the included code is not a fix, IMHO. Lets please evaluate why the library code was duplicated within the project source in the first place. giflib is not only available under the thirdparty directory, but is a common library on most linux distros. It seems odd that it's both referenced from the library AND duplicated in-source.
Because this function at some point disappeared from official giflib .... I guess adding version defines around this piece of code will be correct course of action.
So far the only dependency I've had to use from the thirdparty directory is libdpx since it is quite obscure and not a standard part of Debian.
-Rob
_______________________________________________ Cin mailing list -- [email protected] To unsubscribe send an email to [email protected]