try this on top of pile... for me it detects openEXR2 (recently added to termux on my request) and compiles fine...
On Saturday, April 9, 2022, Andrew Randrianasulu <[email protected]> wrote: > > > On Saturday, April 9, 2022, Andrea paz <[email protected]> > wrote: > >> Sorry, I don't understand what I need to do. >> In configure.ac I find the following line: >> >> 31 CFG_CFLAGS+=" -I/usr/include -I/usr/local/include >> -I/data/data/com.termux/files/usr/include/a52dec" >> >> How should I edit it? >> In my system a52dec is located in: >> >> /usr/include/a52dec (a52.h; a52_internal.h; attributes.h; audio_out.h; >> mm_accel.h) >> >> /usr/bin/a52dec >> >> >> I tried to do "CFLAGS=-I/usr/include/a52dec ./configure ...." and then >> compile. >> >> Still error, but later than the other times. I think it's a new error. >> I attach cin5.log and config.log. > > > > > ah, openexr includes... > > either disable openexr or add more cflags before configure ... > > CFLAGS=$(pkg-config --cflags OpenEXR) > > i tend to create small sh script so i can modify those switches and > variables without re-typing a lot.. > > ps: for me libogg/libvorbis linking fail on termux, it may work better on > Linux/gnu ld systems... but if you meet linking errs at very end you can > add --without-ogg switch too. > > sorry for rough edges! > >> >> >> PS: contrary to yesterday, a patch gives me error: >> >> Applicazione in corso: Slightly more conditions in probe order >> error: patch non riuscita: cinelerra-5.1/cinelerra/file.C:390 >> error: cinelerra-5.1/cinelerra/file.C: la patch non si applica >> correttamente >> Patch non riuscita a 0063 Slightly more conditions in probe order >> suggerimento: Usa 'git am --show-current-patch=diff' per visualizzare >> la patch non riuscita >> Una volta risolto questo problema, esegui "git am --continue". >> Se preferisci saltare questa patch, esegui invece "git am --skip". >> Per ripristinare il branch originario e terminare il patching, esegui >> "git am --abort". >> >> And then: >> >> $ git am --show-current-patch=diff >> --- >> cinelerra-5.1/cinelerra/file.C | 4 ++++ >> 1 file changed, 4 insertions(+) >> >> diff --git a/cinelerra-5.1/cinelerra/file.C >> b/cinelerra-5.1/cinelerra/file.C >> index 946cca1e..2a133005 100644 >> --- a/cinelerra-5.1/cinelerra/file.C >> +++ b/cinelerra-5.1/cinelerra/file.C >> @@ -390,7 +390,9 @@ const char *File::default_probes[] = { >> #ifdef HAVE_GIFLIB >> "GIF", >> #endif >> +#ifdef HAVE_LIBDPX >> "DPX", >> +#endif >> #ifdef HAVE_OPENEXR >> "EXR", >> #endif >> @@ -402,7 +404,9 @@ const char *File::default_probes[] = { >> "OGG", >> "Vorbis", >> #endif >> +#ifdef HAVE_LIBZMPEG >> "MPEG", >> +#endif >> "EDL", >> "FFMPEG_Late", >> }; >> -- >> 2.35.1 >> >
From 4be727a767d7f38fae8c06083e25a6a6479aa6e8 Mon Sep 17 00:00:00 2001 From: Andrew Randrianasulu <[email protected]> Date: Sat, 9 Apr 2022 22:27:06 +0300 Subject: [PATCH] Hopefully fix dynamic openexr via pkg-config in configure.ac --- cinelerra-5.1/configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cinelerra-5.1/configure.ac b/cinelerra-5.1/configure.ac index fb65862d..43cc3087 100644 --- a/cinelerra-5.1/configure.ac +++ b/cinelerra-5.1/configure.ac @@ -838,6 +838,7 @@ CHECK_WANT([OPENEXR], [auto], [use openexr], [ # ilmbase libs LIBS=" -lIlmImf -lIlmThread -lIex -lpthread" CXXFLAGS="-I/usr/include/OpenEXR -I/usr/local/include/OpenEXR" + CXXFLAGS+=" $(pkg-config --cflags OpenEXR)" AC_LANG_PUSH(C++) AC_LINK_IFELSE([AC_LANG_PROGRAM([[ #include "ImfChannelList.h" @@ -863,7 +864,9 @@ EXROStream() : Imf::OStream("mypath") {} }; SHARED_openexr="$LIBS" SHARED_LIBS+=" $LIBS" CFG_CFLAGS+=" -I/usr/include/OpenEXR -I/usr/local/include/OpenEXR" + CFG_CFLAGS+=" $(pkg-config --cflags OpenEXR)" fi + CFG_CFLAGS+=" $(pkg-config --cflags OpenEXR)" fi LIBS="$saved_LIBS" CXXFLAGS="$saved_CXXFLAGS" -- 2.35.1
-- Cin mailing list [email protected] https://lists.cinelerra-gg.org/mailman/listinfo/cin

