вт, 23 авг. 2022 г., 14:34 Andrea paz <gamberucci.andrea@gmail.com>:
I downloaded lcms2-2.13.1.tar.gz from
https://github.com/mm2/Little-CMS/releases and put it in
.../thirdparty/src. Maybe tarball is no good? Where did you download
it from?
I applied 0005-add-lcms2-2.13.1-for-ffmpeg-5.1.patch without errors.
I did the compilation and have a crash. I attach the cin5.log.


Oh, it seems I forgot lcms2 includes path ... Build probably worked for me due to system-wide install of lcms2 headers ....

Try to add something like this in thirdparty/Makefile

git diff thirdparty/Makefile
diff --git a/cinelerra-5.1/thirdparty/Makefile b/cinelerra-5.1/thirdparty/Makefile
index ab08d7d6..2a01f58d 100644
--- a/cinelerra-5.1/thirdparty/Makefile
+++ b/cinelerra-5.1/thirdparty/Makefile
@@ -161,6 +161,7 @@ ffmpeg.cfg_params= \
                $(call inc_path,libvorbis) \
                $(call inc_path,libtheora) \
                $(call inc_path,libvpx) \
+ $(call inc_path,lcms2) \
                $(call inc_path,x264) \
                $(call inc_path,x265)" \
        --extra-cxxflags="-D__STDC_CONSTANT_MACROS" \





PS: Whenever I compile, autogen.sh always produces a warning for me,
even though everything then works normally. The warning is:

libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.

What will happen if you follow this suggestion?