diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2010-10-06 02:58:19 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2010-10-06 02:58:19 +0000 |
commit | bc3836a1806295cb929b0edf228dcb6df6945989 (patch) | |
tree | da3621491a813899f110921f595276d4de83d0fe /doc | |
parent | 2344dc6bb6e3a14a1752f1774fd98eaca6568d86 (diff) | |
download | ffmpeg-bc3836a1806295cb929b0edf228dcb6df6945989.tar.gz |
doc,win32: update note on which files to use with shared libraries in msvc
Originally committed as revision 25365 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'doc')
-rw-r--r-- | doc/general.texi | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/general.texi b/doc/general.texi index 890319bf10..faf2aecb24 100644 --- a/doc/general.texi +++ b/doc/general.texi @@ -978,9 +978,12 @@ To use those files with MSVC++, do the same as you would do with the static libraries, as described above. But in Step 4, you should only need to add the directory where the LIB files are installed (i.e. @file{c:\msys\usr\local\bin}). This is not a typo, the LIB files are -installed in the @file{bin} directory. And instead of adding @file{libxx.a} -files, you should add @file{avcodec.lib}, @file{avformat.lib}, and -@file{avutil.lib}. There should be no need for @file{libmingwex.a}, +installed in the @file{bin} directory. And instead of adding the static +libraries (@file{libxxx.a} files) you should add the MSVC import libraries +(@file{avcodec.lib}, @file{avformat.lib}, @file{avcore.lib}, and +@file{avutil.lib}). Note that you should not use the GCC import +libraries (@file{libxxx.dll.a} files), as these will give you undefined +reference errors. There should be no need for @file{libmingwex.a}, @file{libgcc.a}, and @file{wsock32.lib}, nor any other external library statically linked into the DLLs. The @file{bin} directory contains a bunch of DLL files, but the ones that are actually used to run your application |