mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-13 05:25:03 +00:00
Failure to find ffmpeg/libavcodec header files during compilation #877
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @siliconwaffle on GitHub (Jan 1, 2026).
Description
Linux build script fails to find libavcodec header files on Fedora 43 with ffmpeg-devel from rpmfusion.
Component: lib_ccx
File: src/lib_ccx/hardsubx.c and src/lib_ccx/hardsubx.h
Problem
Compilation of ccextractor fails on systems where ffmpeg header files exist under /usr/include/ffmpeg. The header files are installed, they're just in a weird location and the environment variables aren't fixing it.
Compilation command used:
Error message:
Proposed Fix
I haven't figured out how to fix this.
Impact
This issue causes compilation to fail.
This has been an issue for years and there's still a comment in the header and c files that say "// TODO: Correct FFMpeg integration", but there was a similar issue a while back that got closed as "not planned". I have been attempting to fix this for a while but I have no idea what I'm doing, is there at least a good work-around if it's not going to be fixed?