<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">пн, 23 сент. 2024 г., 12:02 Terje J. Hanssen <<a href="mailto:terjejhanssen@gmail.com">terjejhanssen@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div>
<br>
<br>
<div>Den 23.09.2024 01:20, skrev Andrew
Randrianasulu:<br>
</div>
<blockquote type="cite">
<div dir="auto">
<div dir="auto"><br>
</div>
<div dir="auto">[snip]</div>
<div dir="auto"><br>
</div>
<div dir="auto">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<blockquote type="cite">
<div dir="auto">
<div>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><br>
</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">ah, ffmpeg includes not found ...</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">does "pkg-config --cflags
libavcodec" print anything?</div>
</div>
</blockquote>
<font face="Courier New, Courier, monospace">#
pkg-config --cflags libavcodec<br>
-I/usr/include/ffmpeg<br>
</font><br>
<blockquote type="cite">
<div dir="auto"><br>
<div dir="auto">alternatively you can look with "ls"
into /usr/include, may be current ffmpeg includes
live there under ffmpeg7 directory?</div>
</div>
</blockquote>
<br>
<font face="Courier New, Courier, monospace"># ls
/usr/include/ffmpeg<br>
libavcodec libavdevice libavfilter libavformat
libavutil libpostproc libswresample libswscale<br>
</font><br>
<blockquote type="cite">
<div dir="auto">
<div dir="auto"><br>
</div>
<div dir="auto">of course you need ffmpeg(7?)-devel
package installed <br>
</div>
</div>
</blockquote>
<br>
<font face="Courier New, Courier, monospace"># zypper se
-i ffmpeg-7<br>
Loading repository data...<br>
<br>
Reading installed packages...<br>
<br>
S | Name |
Summary
| Type<br>
---+------------------------------+---------------------------------------------------------------------+--------<br>
i | ffmpeg-7 | Set of libraries
for working with various multimedia formats |
package<br>
i | ffmpeg-7-libavcodec-devel | Development files
for FFmpeg's codec library |
package<br>
i+ | ffmpeg-7-libavdevice-devel | Development files
for FFmpeg's device library |
package<br>
i | ffmpeg-7-libavfilter-devel | Development files
for FFmpeg's audio/video filter library |
package<br>
i | ffmpeg-7-libavformat-devel | Development files
for FFmpeg's stream format library |
package<br>
i | ffmpeg-7-libavutil-devel | Development files
for FFmpeg's utility library |
package<br>
i | ffmpeg-7-libpostproc-devel | Development files
for the FFmpeg post-processing library |
package<br>
i | ffmpeg-7-libswresample-devel | Development files
for the FFmpeg software resampling library |
package<br>
i | ffmpeg-7-libswscale-devel | Development files
for FFmpeg's image scaling and colorspace library |
package</font><br>
<br>
<br>
<blockquote type="cite">
<div dir="auto">
<div dir="auto"><br>
</div>
<div dir="auto">After you located includes try to
re-run ./configure but set CFLAGS variable before
it with -I/path_to_ffmpeg_includes directive,
like </div>
<div dir="auto"><br>
</div>
<div dir="auto">CFLAGS=-I/usr/include/ffmpeg7
./configure <..></div>
<div dir="auto">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div> <br>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
This way?<br>
<br>
<font face="Courier New, Courier, monospace">#
CFLAGS=-I/usr/include/ffmpeg ./configure
--with-single-user --disable-static-build
--without-thirdparty --without-libdpx<br>
</font></div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">I think yes.</div>
</div>
</blockquote>
<br>
/home/cinelerra/cinelerra-5.1#<br>
<br>
4)<br>
# CFLAGS=-I/usr/include/ffmpeg ./configure --with-single-user
--disable-static-build --without-thirdparty --without-libdpx >
configure.log 2>&1<br>
<br>
.......snip<br>
<font face="Courier New, Courier, monospace">checking for
suil_instance_new in -lsuil-0... yes<br>
checking for suil/suil.h... yes<br>
checking suil headers... yes<br>
checking for /usr/local/cuda/include/cuda.h... no<br>
checking cuda sdk... no<br>
checking for dlopen in -ldl... yes<br>
checking for numa_alloc in -lnuma... yes<br>
checking for openexr available... yes<br>
Reason Package<br>
------ -------<br>
disabled encore<br>
disabled audiofile<br>
disabled esound<br>
disabled libsvtav1<br>
shared -ltheoraenc<br>
shared -ltheoradec<br>
shared -logg<br>
shared -lvorbis<br>
shared -lvorbisfile<br>
shared -logg<br>
shared -lImath<br>
shared -lIlmThread<br>
shared -lIex<br>
shared -lpthread<br>
shared -la52<br>
shared -lfftw3<br>
shared -lFLAC<br>
shared -lgif<br>
shared -lavc1394<br>
shared -lrom1394<br>
shared -lraw1394<br>
shared -liec61883<br>
shared -ldv<br>
shared -ljpeg<br>
shared -logg<br>
shared -lsndfile<br>
shared -ltheora<br>
shared -luuid<br>
shared -lvorbisenc<br>
shared -lvorbisfile<br>
shared -ltiff<br>
shared -ltwolame<br>
shared -lx264<br>
shared -lx265<br>
shared -lopus<br>
shared -llilv-0<br>
shared -lsratom-0<br>
shared -lserd-0<br>
shared -lsord-0<br>
shared -lsuil-0<br>
system -lX11<br>
system -lXext<br>
system -lXinerama<br>
system -lXfixes<br>
system -lbz2<br>
system -lfontconfig<br>
system -lfreetype<br>
system -llzma<br>
system -lpng<br>
system -lpthread<br>
system -lz<br>
system -ljbig<br>
system -lvdpau<br>
system -lva<br>
system -lva-x11<br>
system -lva-drm<br>
system -lGL<br>
system -lGLU<br>
system -lXv<br>
system -lXft<br>
system -lasound<br>
system -lpulse-simple<br>
system -lpulse<br>
system -lusb-1.0<br>
system -ldl<br>
system -lnuma<br>
<br>
using: with-gl<br>
using: with-xft<br>
using: with-xxf86vm<br>
using: with-oss<br>
using: with-alsa<br>
using: with-firewire<br>
using: with-ogg<br>
using: with-dv<br>
using: with-dvb<br>
using: with-ladspa<br>
using: with-video4linux2<br>
using: without-esound<br>
using: with-pulse<br>
using: with-pactl<br>
using: with-openexr<br>
using: with-lv2<br>
using: without-commercial<br>
using: with-giflib<br>
using: with-libzmpeg<br>
using: without-libdpx<br>
using: with-shuttle<br>
using: with-shuttle_usb<br>
using: with-xv<br>
using: with-vaapi<br>
using: with-vdpau<br>
using: without-cuda<br>
using: with-nv<br>
using: with-wintv<br>
using: with-x10tv<br>
using: with-jobs = 32<br>
using: exec-name = cin<br>
using: with-cinlib = $$CIN_PATH<br>
using: with-cindat = $$CIN_PATH<br>
using: with-config-dir = $$HOME/.bcast5<br>
using: with-nested-dir = $$HOME/Videos<br>
using: with-snap-dir = $$HOME/Pictures<br>
using: with-browser = firefox<br>
using: with-plugin-dir = $$CIN_LIB/plugins<br>
using: with-ladspa-dir = $$CIN_LIB/ladspa<br>
using: with-opencv = no<br>
using: with-git-ffmpeg = no<br>
using: with-noelision = auto<br>
using: with-booby = no<br>
using: with-clang = no<br>
<br>
using: thirdparty build = no<br>
using: single-user = yes<br>
using: static-build = no<br>
using: ladspa-build = yes<br>
<br>
checking that generated files are newer than configure... done<br>
configure: creating ./config.status<br>
config.status: creating Makefile<br>
config.status: executing depfiles commands<br>
config.status: executing libtool commands</font><br>
<br>
--------------------<br>
<br>
5)<br>
<font face="Courier New, Courier, monospace"># make > make.log
2>&1<br>
<br>
</font>.......snip<br>
<font face="Courier New, Courier, monospace">/home/cinelerra/cinelerra-5.1/cinelerra/../guicast/bcwindowbase.h:222:22:
warning: ‘virtual void BC_WindowBase::create_objects()’ was hidden
[-Woverloaded-virtual=]<br>
222 | virtual void create_objects() { return; };<br>
| ^~~~~~~~~~~~~~<br>
In file included from preferencesthread.h:30,<br>
from appearanceprefs.h:30,<br>
from preferences.h:37,<br>
from convert.C:48:<br>
question.h:34:14: note: by ‘void
QuestionWindow::create_objects(const char*, int)’<br>
34 | void create_objects(const char *string, int
use_cancel);<br>
| ^~~~~~~~~~~~~~<br>
make[2]: Leaving directory
'/home/cinelerra/cinelerra-5.1/cinelerra'<br>
make[1]: *** [Makefile:592: all-recursive] Error 1<br>
make[1]: Leaving directory '/home/cinelerra/cinelerra-5.1'<br>
make: *** [Makefile:539: all] Error 2<br>
<br>
<br>
<br>
Andrew, I attach complete config.log and make.log by email<br></font></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">from log:</div><div dir="auto"><br></div><div dir="auto">fatal error: lame/lame.h: No such file or directory<br></div><div dir="auto"><br></div><div dir="auto">installing something like lame-devel, or liblame-devel should fix that.</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><font face="Courier New, Courier, monospace">
<br>
</font>
</div>
</blockquote></div></div></div>