[Libav-user] Linking ffmpeg libraries on Windows

Gustav González xtingray at gmail.com
Tue Apr 10 19:29:53 CEST 2012


2012/4/5 Alex Cohn <alexcohn at netvision.net.il>:
>
> Do you use any av_* functions that the linker does not complain about?
>
> I think you have the linking syntax wrong. -L normally points to a
> directory, not a file. Also, zeranoe provides the import libraries in
> /lib directory. Thus, you probably need something like:
>
> -L C:/QtSDK/Desktop/ffmpeg/lib -lavformat-53.dll -lavutil-51.dll

Now it works! In my case:

-L C:/QtSDK/Desktop/ffmpeg/lib -lavformat -lavutil

Thanks Alex!

-- 
============================
  Gustav Gonzalez
  xtingray at gmail.com
============================


More information about the Libav-user mailing list