ah,apparently libtiff was build against system libjpeg-turbo headers, yet
links to our internal libjpeg and can't find some symbols.

For now I disabled libjpeg support in libtiff, will try to fix includes soon

вс, 27 авг. 2023 г., 20:41 Andrew Randrianasulu <[email protected]>:

>
>
> вс, 27 авг. 2023 г., 20:32 Andrea paz <[email protected]>:
>
>> Now the compilation takes place without errors. However, I don't have
>> the cin file inside bin: it is not possible to start CinGG.
>> CIN_CONFIG=/home/paz/.bcast6 /home/paz/cinelerra5/cinelerra-5.1/bin/./cin
>> bash: /home/paz/cinelerra5/cinelerra-5.1/bin/./cin: No such file or
>> directory
>>
>> I attach yet another cin5.log
>>
>
> Ah, I have same error on termux. I guess we need to tweak libtiff build
> flags or add patch like this?
>
>
> https://discourse.libsdl.org/t/libtiff-add-support-for-libjpeg-turbo-2-2-dev-8-12-bit-dual-mode/40580
>
>
From 244ff8a7be07f2c91ec70694821084b2118b8e03 Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu <[email protected]>
Date: Sun, 27 Aug 2023 21:03:44 +0300
Subject: [PATCH] Disable libjpeg support in libtiff, fix build

---
 cinelerra-5.1/thirdparty/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cinelerra-5.1/thirdparty/Makefile b/cinelerra-5.1/thirdparty/Makefile
index 560b6a74..440f8f7b 100644
--- a/cinelerra-5.1/thirdparty/Makefile
+++ b/cinelerra-5.1/thirdparty/Makefile
@@ -254,7 +254,7 @@ openexr.mak_vars?=true; \#
 opus.cfg_params?= --disable-extra-programs
 speech_tools.mak_params?=-j1
 tiff.cfg_vars+=LIBS+=" -lpthread"; autoreconf -ifv -I m4 && automake -caf;
-tiff.cfg_params+= --disable-libdeflate --disable-lerc --enable-shared=no --disable-zstd $(call if_pkg,libwebp,\
+tiff.cfg_params+= --disable-libdeflate --disable-jpeg --disable-lerc --enable-shared=no --disable-zstd $(call if_pkg,libwebp,\
  --with-webp-include-dir=$(call pkg_incl,libwebp)\
  --with-webp-lib-dir=$(call pkg_libs,libwebp))\
  $(call if_npkg,libwebp,--disable-webp)
-- 
2.42.0

-- 
Cin mailing list
[email protected]
https://lists.cinelerra-gg.org/mailman/listinfo/cin

Reply via email to