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