[Cin] Lcms2 integration

Andrew Randrianasulu randrianasulu at gmail.com
Tue Aug 23 14:45:21 CEST 2022


вт, 23 авг. 2022 г., 14:34 Andrea paz <gamberucci.andrea at 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?

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20220823/d785afd2/attachment.htm>


More information about the Cin mailing list