Tencent / libpag

The official rendering library for PAG (Portable Animated Graphics) files that renders After Effects animations natively across multiple platforms.

Home Page:https://pag.art

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

使用最新版编译出linux libpag.a编译ffmpeg时报错undefined reference

wangyinlong opened this issue · comments

Discussed in #2297

Originally posted by wangyinlong May 14, 2024

我首先在linux目录下./build_pag.sh编译得到了include头文件和libpag.a静态库
然后使用include和libpag.a重新编译libavfilter/cpp,将静态库libpag.a生成pag_impl.a

然后重新编译ffmpeg
./configure --prefix=/usr --enable-static --enable-shared --enable-pic --enable-pthreads --enable-version3 --enable-gnutls --enable-gpl
--enable-nonfree --enable-libass --enable-libfreetype --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264
--disable-filter=gltransition --enable-filter=pag
--extra-cflags="-I/usr/local/include/ -I/data/home/johnnylwang/gffmpeg_johnny1/third_party/swiftshader/include"
--extra-ldflags="-L/usr/local/lib -L/data/home/johnnylwang/gffmpeg_johnny1/third_party/swiftshader/linux -L/data/home/johnnylwang/gffmpeg_johnny1/G-ffmpeg/libavfilter/cpp"
--extra-libs="-lpag_impl -lEGL -lGLESv2 -lstdc++ -lz -ldl -lpthread -lm"

make

在make的时候遇到了如下报错
image
请问是这些函数的实现已经在新版的代码中去除掉了吗?还是什么原因呀?