[FFmpeg-user] ffmpeg dll compilation issue after adding a function.
Nidhisha K
nidhisha.k at vvdntech.in
Fri Jan 4 12:07:57 EET 2019
Hi all.
I have added a function in libavcodev/utils.c and called that function from
libavformat/utils.c(where it is defined). I have declared function
libavcode/avcodec.h also.
But I am not able to compile the dlls. avcodec-57 dll is compling. but
avformat-57.dll it is not compiling. it is showing error like :
LD libavcodec/avcodec-57.dll
sed -e "s/ @[^ ]*//" libavcodec/avcodec-57.orig.def >
libavcodec/avcodec-57.def;
/home/vkchlt0219/vvdn_dvdo/ffmpeg-windows-build-helpers-master/sandbox/cross_compilers/mingw-w64-i686/bin/i686-w64-mingw32-dlltool
-m i386 -d libavcodec/avcodec-57.def -l libavcodec/avcodec.lib -D
avcodec-57.dll
LD libavformat/avformat-57.dll
libavformat/utils.o:utils.c:(.text+0x138fb): undefined reference to
`set_value_t'
collect2: error: ld returned 1 exit status
ffbuild/library.mak:102: recipe for target 'libavformat/avformat-57.dll'
failed
make: *** [libavformat/avformat-57.dll] Error
So, could you please tell me how to compile avformat-57.dll and
avcodec-57.dll after adding a custom function? I am cross compiling ffmpeg
for windows.
--
With regards,
More information about the ffmpeg-user
mailing list