undefined reference to `libiconv'

Questions that occur when trying to compile FFmpeg.
Post Reply
ptdanh392
Posts: 1
Joined: Thu Mar 15, 2018 9:28 am

undefined reference to `libiconv'

Post by ptdanh392 » Thu Mar 15, 2018 9:35 am

Hi All, I compile ffmpeg v3.4 on windows and the, build an example and it's error:
||=== Build: Release in tester (compiler: GNU GCC Compiler) ===|
C:\Users\playout\Desktop\ffmpeg-3.4.2\ffmpeg\lib\libavcodec.a(decode.o):decode.c|| undefined reference to `libiconv_open'|
C:\Users\playout\Desktop\ffmpeg-3.4.2\ffmpeg\lib\libavcodec.a(decode.o):decode.c|| undefined reference to `libiconv_close'|
C:\Users\playout\Desktop\ffmpeg-3.4.2\ffmpeg\lib\libavcodec.a(decode.o):decode.c|| undefined reference to `libiconv'|
C:\Users\playout\Desktop\ffmpeg-3.4.2\ffmpeg\lib\libavcodec.a(decode.o):decode.c|| undefined reference to `libiconv'|
C:\Users\playout\Desktop\ffmpeg-3.4.2\ffmpeg\lib\libavcodec.a(decode.o):decode.c|| undefined reference to `libiconv_close'|
C:\Users\playout\Desktop\ffmpeg-3.4.2\ffmpeg\lib\libavcodec.a(decode.o):decode.c|| undefined reference to `libiconv_close'|
C:\Users\playout\Desktop\ffmpeg-3.4.2\ffmpeg\lib\libavcodec.a(decode.o):decode.c|| undefined reference to `libiconv_close'|
C:\Users\playout\Desktop\ffmpeg-3.4.2\ffmpeg\lib\libavcodec.a(utils.o):utils.c|| undefined reference to `libiconv_open'|
C:\Users\playout\Desktop\ffmpeg-3.4.2\ffmpeg\lib\libavcodec.a(utils.o):utils.c|| undefined reference to `libiconv_close'|
||error: ld returned 1 exit status|
||=== Build failed: 10 error(s), 0 warning(s) (0 minute(s), 1 second(s)) ===|
please help me to solve this problem.
Thank you

Post Reply