Commit bc3836a1 authored by Ramiro Polla's avatar Ramiro Polla

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
parent 2344dc6b
...@@ -978,9 +978,12 @@ To use those files with MSVC++, do the same as you would do with ...@@ -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, the static libraries, as described above. But in Step 4,
you should only need to add the directory where the LIB files are installed 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 (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} installed in the @file{bin} directory. And instead of adding the static
files, you should add @file{avcodec.lib}, @file{avformat.lib}, and libraries (@file{libxxx.a} files) you should add the MSVC import libraries
@file{avutil.lib}. There should be no need for @file{libmingwex.a}, (@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 @file{libgcc.a}, and @file{wsock32.lib}, nor any other external library
statically linked into the DLLs. The @file{bin} directory contains a bunch 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 of DLL files, but the ones that are actually used to run your application
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment