You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How to point autogen.sh to our own sourced and compiled ffmpeg/libavcodec #132
We are trying to compile ultragrid in UBuntu 18.04, but autogen.sh won’t find our own ffmpeg build. So it is not compiling libavcodec encoders.
Where is autogen looking for libavcodec/ffmpeg?
Which files is exactly autogen looking for?
Can we point autogen to a specific location for this?
First, pkg-config lookup is performed and if libavcodec (et al.) is not found, individual headers/libs are searched for. So I'd suggest to point PKG_CONFIG_PATH to your FFmpeg location (the pkgconfig/ subdirectory). Otherwise (the second look-up option), you'd need to set CPATH/LIBRARY_PATH (and perhaps also LD_LIBRARY_PATH). For debugging, you can also look to config.log to see what was not found (if something).
Activity
MartinPulec commentedon Feb 12, 2021
Hi,
you can look at this part of configure.
First, pkg-config lookup is performed and if libavcodec (et al.) is not found, individual headers/libs are searched for. So I'd suggest to point PKG_CONFIG_PATH to your FFmpeg location (the pkgconfig/ subdirectory). Otherwise (the second look-up option), you'd need to set CPATH/LIBRARY_PATH (and perhaps also LD_LIBRARY_PATH). For debugging, you can also look to config.log to see what was not found (if something).
Martin